From: Daniel Stenberg Date: Mon, 9 Aug 2004 08:28:17 +0000 (+0000) Subject: ->fread() should get a size_t variable passed in X-Git-Tag: curl-7_12_1~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e23ba31eb9c9ff6174bd5b069605d1a01aa964fd;p=thirdparty%2Fcurl.git ->fread() should get a size_t variable passed in --- diff --git a/lib/transfer.c b/lib/transfer.c index c6e4b04cb5..a12ae5f865 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) {