mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-25 12:04:47 +00:00
Squashed warning
This commit is contained in:
1 parent
87279f3518
commit
2d5d668863
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user