Fix compiler warning: comparison between signed and unsigned

This commit is contained in:
Yang Tse 2006-07-12 09:03:48 +00:00
parent f975fd03a1
commit 95aecc5dbb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}