From: Yang Tse Date: Wed, 12 Jul 2006 09:03:48 +0000 (+0000) Subject: Fix compiler warning: comparison between signed and unsigned X-Git-Tag: upstream/7.37.1~10227 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95aecc5dbbd388f8e516b135bf17346e0770c447;p=platform%2Fupstream%2Fcurl.git Fix compiler warning: comparison between signed and unsigned --- diff --git a/tests/server/sws.c b/tests/server/sws.c index 7d1b76ea1..4868651eb 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -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; }