aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)) {