From: Daniel Stenberg Date: Tue, 9 Mar 2004 21:39:50 +0000 (+0000) Subject: explicit typecast to visualize that we really want the result of the X-Git-Tag: curl-7_11_1~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b2869338d344a89e69d6a41bae185cbf4804181;p=thirdparty%2Fcurl.git explicit typecast to visualize that we really want the result of the operation as a size_t --- diff --git a/lib/http.c b/lib/http.c index 5be8a9e6f0..66e38bf942 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1259,7 +1259,7 @@ CURLcode Curl_http(struct connectdata *conn) input. If we knew it was a proper file we could've just fseek()ed but we only have a stream here */ do { - size_t readthisamountnow = (conn->resume_from - passed); + size_t readthisamountnow = (size_t)(conn->resume_from - passed); size_t actuallyread; if(readthisamountnow > BUFSIZE)