Fixed a compiler warning on uClibc.

This commit is contained in:
Dan Fandrich 2007-06-07 22:24:53 +00:00
parent 2ea052336f
commit 38b490a310
1 changed files with 1 additions and 1 deletions

View 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;