From cf004cbc7efd983111d976693fe1f18361cfa8e6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 10 Mar 2004 09:44:42 +0000 Subject: keep the number of bytes read in a size_t variable --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http.c b/lib/http.c index 0de90c7c5..a4fa44f95 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; -- cgit v1.2.3