Skip to content
Snippets Groups Projects
Commit 82a999f4 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve MSVC warning about mismatch signed/unsigned compares

parent 196e4be1
Branches
Tags
No related merge requests found
......@@ -407,7 +407,7 @@ static off_t js_socket_sendfilesocket(js_socket_private_t *p, int file)
}
if (rd == 0)
break;
size_t sent = 0;
ssize_t sent = 0;
while (sent < rd) {
ptrdiff_t wr = js_socket_sendsocket(p, buf + sent, rd - sent, false);
if (wr > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment