From 38b490a310aa6c10581ac67e1be594ce1fa79f6f Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 7 Jun 2007 22:24:53 +0000 Subject: Fixed a compiler warning on uClibc. --- lib/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/file.c b/lib/file.c index 3c37f6084..96f53f779 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; -- cgit v1.2.3