From: Dan Fandrich Date: Thu, 7 Jun 2007 22:24:53 +0000 (+0000) Subject: Fixed a compiler warning on uClibc. X-Git-Tag: curl-7_16_3~55 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=38b490a310aa6c10581ac67e1be594ce1fa79f6f;p=thirdparty%2Fcurl.git Fixed a compiler warning on uClibc. --- diff --git a/lib/file.c b/lib/file.c index 3c37f6084a..96f53f7799 100644 --- a/lib/file.c +++ b/lib/file.c @@ -253,7 +253,7 @@ static CURLcode file_upload(struct connectdata *conn) /*skip bytes before resume point*/ if(data->reqdata.resume_from) { - if( nread <= data->reqdata.resume_from ) { + if( (curl_off_t)nread <= data->reqdata.resume_from ) { data->reqdata.resume_from -= nread; nread = 0; buf2 = buf;