Commit cf004cbc authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

keep the number of bytes read in a size_t variable

parent 99482507
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;