diff options
Diffstat (limited to 'lib/pingpong.c')
-rw-r--r-- | lib/pingpong.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pingpong.c b/lib/pingpong.c index 9de6e6f05..fcc9dd560 100644 --- a/lib/pingpong.c +++ b/lib/pingpong.c @@ -369,7 +369,7 @@ CURLcode Curl_pp_readresp(curl_socket_t sockfd, ssize_t clipamount = 0; bool restart = FALSE; - data->req.headerbytecount += gotbytes; + data->req.headerbytecount += (long)gotbytes; pp->nread_resp += gotbytes; for(i = 0; i < gotbytes; ptr++, i++) { |