From e6aed927426b7b40864545439104c99285273994 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 26 Jan 2007 17:50:06 +0000 Subject: [PATCH] Fixed compiler warning. --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transfer.c b/lib/transfer.c index d89dec673..bff16b4ff 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -364,7 +364,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, might be pipelining and then someone else might want to read what follows! */ curl_off_t totalleft = k->size - k->bytecount; - if(totalleft < bytestoread) + if(totalleft < (curl_off_t)bytestoread) bytestoread = (size_t)totalleft; }