mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +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);
|
logmsg("Read %zd bytes", got);
|
||||||
|
|
||||||
req->offset += got;
|
req->offset += (int)got;
|
||||||
reqbuf[req->offset] = '\0';
|
reqbuf[req->offset] = '\0';
|
||||||
|
|
||||||
if(ProcessRequest(req)) {
|
if(ProcessRequest(req)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user