Squashed warning

This commit is contained in:
Sergey Lyubka committed 2013-11-23 13:48:55 +00:00
1 parent 87279f3518
commit 2d5d668863
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -125,8 +125,8 @@ int mg_read(struct mg_connection *conn, void *buf, int len) {
}
int mg_write(struct mg_connection *conn, const void *buf, int len) {
return push(NULL, conn->client.sock, conn->ssl, (const char *) buf,
(int64_t) len);
return (int) push(NULL, conn->client.sock, conn->ssl, (const char *) buf,
(int64_t) len);
}
// Keep reading the input (either opened file descriptor fd, or socket sock,