aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-09 08:28:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-09 08:28:17 +0000
commite23ba31eb9c9ff6174bd5b069605d1a01aa964fd (patch)
tree411f69b5eded3a2b8e4d7229e23f54f48a5ff8be /lib
parent02c6fde11eb506b5e8b535d9460fb3043d311c5f (diff)
->fread() should get a size_t variable passed in
Diffstat (limited to 'lib')
-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) {