From: Daniel Stenberg Date: Wed, 10 Mar 2004 09:44:42 +0000 (+0000) Subject: keep the number of bytes read in a size_t variable X-Git-Tag: curl-7_11_1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf004cbc7efd983111d976693fe1f18361cfa8e6;p=thirdparty%2Fcurl.git keep the number of bytes read in a size_t variable --- diff --git a/lib/http.c b/lib/http.c index 0de90c7c5a..a4fa44f95b 100644 --- a/lib/http.c +++ b/lib/http.c @@ -739,7 +739,7 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn, CURLcode result; int res; - int nread; /* total size read */ + size_t nread; /* total size read */ int perline; /* count bytes per line */ bool keepon=TRUE; ssize_t gotbytes;