]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Fixed a compiler warning on uClibc.
authorDan Fandrich <dan@coneharvesters.com>
Thu, 7 Jun 2007 22:24:53 +0000 (22:24 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 7 Jun 2007 22:24:53 +0000 (22:24 +0000)
lib/file.c

index 3c37f6084ab55b5b4750be58197b62e17cb4ebda..96f53f77999cdd35352a47ee47a780127bfe0eff 100644 (file)
@@ -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;