From: Gunter Knauf Date: Sat, 29 Aug 2009 15:44:31 +0000 (+0000) Subject: add cast to silent compiler warning with 64bit systems. X-Git-Tag: curl-7_19_7~190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1320d67334c59461e312b1da18e7add2ad33b1e;p=curl add cast to silent compiler warning with 64bit systems. --- 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)) {