From: Dan Fandrich Date: Fri, 26 Jan 2007 17:50:06 +0000 (+0000) Subject: Fixed compiler warning. X-Git-Tag: curl-7_16_1~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6aed927426b7b40864545439104c99285273994;p=thirdparty%2Fcurl.git Fixed compiler warning. --- diff --git a/lib/transfer.c b/lib/transfer.c index d89dec6735..bff16b4ffb 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; }