mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-26 20:38:25 +00:00
Squashed warning
This commit is contained in:
1 parent
87279f3518
commit
2d5d668863
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user