Skip to content
Snippets Groups Projects
Commit 95aecc5d authored by Yang Tse's avatar Yang Tse
Browse files

Fix compiler warning: comparison between signed and unsigned

parent f975fd03
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment