Skip to content
Snippets Groups Projects
Commit 38b490a3 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Fixed a compiler warning on uClibc.

parent 2ea05233
No related merge requests found
...@@ -253,7 +253,7 @@ static CURLcode file_upload(struct connectdata *conn) ...@@ -253,7 +253,7 @@ static CURLcode file_upload(struct connectdata *conn)
/*skip bytes before resume point*/ /*skip bytes before resume point*/
if(data->reqdata.resume_from) { 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; data->reqdata.resume_from -= nread;
nread = 0; nread = 0;
buf2 = buf; buf2 = buf;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment