aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
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) {