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

Squashed warning

parent 87279f35
......@@ -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) {
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);
}
......
......@@ -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) {
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);
}
......
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