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

->fread() should get a size_t variable passed in

parent 02c6fde1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ static struct timeval notimeout={0,0};
CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp)
{
  struct SessionHandle *data = conn->data;
  int buffersize = bytes;
  size_t buffersize = (size_t)bytes;
  int nread;

  if(conn->bits.upload_chunky) {