mirror of
https://github.com/curl/curl.git
synced 2026-06-18 14:35:36 +03:00
Fix compiler warning: comparison between signed and unsigned
This commit is contained in:
parent
f975fd03a1
commit
95aecc5dbb
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ static int send_doc(int sock, struct httprequest *req)
|
|||
count = strlen(STREAMTHIS);
|
||||
while(1) {
|
||||
written = swrite(sock, STREAMTHIS, count);
|
||||
if(written != count) {
|
||||
if(written != (ssize_t)count) {
|
||||
logmsg("Stopped streaming");
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue