projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f975fd0
)
Fix compiler warning: comparison between signed and unsigned
author
Yang Tse
<yangsita@gmail.com>
Wed, 12 Jul 2006 09:03:48 +0000
(09:03 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Wed, 12 Jul 2006 09:03:48 +0000
(09:03 +0000)
tests/server/sws.c
patch
|
blob
|
history
diff --git
a/tests/server/sws.c
b/tests/server/sws.c
index 7d1b76ea1d966e1154153279b493b4cb59821f5e..4868651eb79874d874f703ab154b96361bca9600 100644
(file)
--- 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;
}