mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
add cast to silent compiler warning with 64bit systems.
This commit is contained in:
parent
68f7d5b8d3
commit
f1320d6733
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user