]> granicus.if.org Git - curl/commitdiff
->fread() should get a size_t variable passed in
authorDaniel Stenberg <daniel@haxx.se>
Mon, 9 Aug 2004 08:28:17 +0000 (08:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 Aug 2004 08:28:17 +0000 (08:28 +0000)
lib/transfer.c

index c6e4b04cb57a5cbc2b7c46d3d70b76c87c63962f..a12ae5f8655b17f31866977ccf41e035c00339f7 100644 (file)
@@ -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) {