aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-12 09:03:48 +0000
committerYang Tse <yangsita@gmail.com>2006-07-12 09:03:48 +0000
commit95aecc5dbbd388f8e516b135bf17346e0770c447 (patch)
tree6b9322efd4f1d90138dfc0898bab0815397e0418 /tests
parentf975fd03a15f3c4792c0f99d734e663440afaf40 (diff)
Fix compiler warning: comparison between signed and unsigned
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sws.c2
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;
}