aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-08-29 15:44:31 +0000
committerGunter Knauf <gk@gknw.de>2009-08-29 15:44:31 +0000
commitf1320d67334c59461e312b1da18e7add2ad33b1e (patch)
tree9ad5d09fc12258fce02031a35d552ec7a5e9869e /tests/server
parent68f7d5b8d313f96c1c18356596822c50900f27b8 (diff)
add cast to silent compiler warning with 64bit systems.
Diffstat (limited to 'tests/server')
-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 accf5555b..7902c035f 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -613,7 +613,7 @@ static int get_request(curl_socket_t sock, struct httprequest *req)
logmsg("Read %zd bytes", got);
- req->offset += got;
+ req->offset += (int)got;
reqbuf[req->offset] = '\0';
if(ProcessRequest(req)) {