keep the number of bytes read in a size_t variable
authorDaniel Stenberg <daniel@haxx.se>
Wed, 10 Mar 2004 09:44:42 +0000 (09:44 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 10 Mar 2004 09:44:42 +0000 (09:44 +0000)
lib/http.c

index 0de90c7..a4fa44f 100644 (file)
@@ -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;