Commit 2d5d6688 authored by Sergey Lyubka's avatar Sergey Lyubka

Squashed warning

parent 87279f35
...@@ -125,8 +125,8 @@ int mg_read(struct mg_connection *conn, void *buf, int len) { ...@@ -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) { 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);
} }
// Keep reading the input (either opened file descriptor fd, or socket sock, // Keep reading the input (either opened file descriptor fd, or socket sock,
......
...@@ -2957,8 +2957,8 @@ int mg_read(struct mg_connection *conn, void *buf, int len) { ...@@ -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) { 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);
} }
// Keep reading the input (either opened file descriptor fd, or socket sock, // Keep reading the input (either opened file descriptor fd, or socket sock,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment