diff options
-rw-r--r-- | lib/file.c | 2 |
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; |