]> granicus.if.org Git - curl/commitdiff
add cast to silent compiler warning with 64bit systems.
authorGunter Knauf <gk@gknw.de>
Sat, 29 Aug 2009 15:44:31 +0000 (15:44 +0000)
committerGunter Knauf <gk@gknw.de>
Sat, 29 Aug 2009 15:44:31 +0000 (15:44 +0000)
tests/server/sws.c

index accf5555bb444c820242274e88c1707390bfd1e3..7902c035f7a9a9e0e622423708f8f0654f2b9d5c 100644 (file)
@@ -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)) {