mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
->fread() should get a size_t variable passed in
This commit is contained in:
parent
02c6fde11e
commit
e23ba31eb9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user