From 2d5d6688632da217312e27a9781b8ff62cbb2ea3 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Sat, 23 Nov 2013 13:48:55 +0000 Subject: [PATCH] Squashed warning --- build/src/io.c | 4 ++-- mongoose.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/src/io.c b/build/src/io.c index 8d92fff4..65657ff8 100644 --- a/build/src/io.c +++ b/build/src/io.c @@ -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, diff --git a/mongoose.c b/mongoose.c index 3fcc50b1..82ca4065 100644 --- a/mongoose.c +++ b/mongoose.c @@ -2957,8 +2957,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,