From e23ba31eb9c9ff6174bd5b069605d1a01aa964fd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 9 Aug 2004 08:28:17 +0000 Subject: [PATCH] ->fread() should get a size_t variable passed in --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transfer.c b/lib/transfer.c index c6e4b04cb..a12ae5f86 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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) {