->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
1 changed files with 1 additions and 1 deletions

View 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) {