diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-12 09:03:48 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-12 09:03:48 +0000 |
commit | 95aecc5dbbd388f8e516b135bf17346e0770c447 (patch) | |
tree | 6b9322efd4f1d90138dfc0898bab0815397e0418 /tests | |
parent | f975fd03a15f3c4792c0f99d734e663440afaf40 (diff) |
Fix compiler warning: comparison between signed and unsigned
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/sws.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |