aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-10 09:44:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-10 09:44:42 +0000
commitcf004cbc7efd983111d976693fe1f18361cfa8e6 (patch)
tree8fe8b70d450641454141f8e08e3a1e67d6346adf
parent9948250723c091b50cc409c39436b9d7f422dbc0 (diff)
keep the number of bytes read in a size_t variable
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
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;