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
+2 -2

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ int mg_read(struct mg_connection *conn, void *buf, int len) {
} }
int mg_write(struct mg_connection *conn, const 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, return (int) push(NULL, conn->client.sock, conn->ssl, (const char *) buf,
(int64_t) len); (int64_t) len);
} }
+1 -1
View File
@@ -2957,7 +2957,7 @@ int mg_read(struct mg_connection *conn, void *buf, int len) {
} }
int mg_write(struct mg_connection *conn, const 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, return (int) push(NULL, conn->client.sock, conn->ssl, (const char *) buf,
(int64_t) len); (int64_t) len);
} }