aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-06-07 22:24:53 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-06-07 22:24:53 +0000
commit38b490a310aa6c10581ac67e1be594ce1fa79f6f (patch)
tree6b9c07742316c177457dcd9b8b2f9fe935374430 /lib
parent2ea052336f467267ab6cfd8cfeb49521898a3154 (diff)
Fixed a compiler warning on uClibc.
Diffstat (limited to 'lib')
-rw-r--r--lib/file.c2
1 files changed, 1 insertions, 1 deletions
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;