mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +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) {
|
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,
|
||||||
|
|||||||
+2
-2
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user