Fix compiler warning: comparison between signed and unsigned
This commit is contained in:
parent
f975fd03a1
commit
95aecc5dbb
@ -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…
x
Reference in New Issue
Block a user