1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

This commit is contained in:
Daniel Stenberg 2004-08-09 08:28:17 +00:00
parent 02c6fde11e
commit e23ba31eb9

View File

@ -128,7 +128,7 @@ static struct timeval notimeout={0,0};
CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp) CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp)
{ {
struct SessionHandle *data = conn->data; struct SessionHandle *data = conn->data;
int buffersize = bytes; size_t buffersize = (size_t)bytes;
int nread; int nread;
if(conn->bits.upload_chunky) { if(conn->bits.upload_chunky) {