mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Fixed compiler warning.
This commit is contained in:
parent
02fb4d96d1
commit
e6aed92742
@ -364,7 +364,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
||||
might be pipelining and then someone else might want to read what
|
||||
follows! */
|
||||
curl_off_t totalleft = k->size - k->bytecount;
|
||||
if(totalleft < bytestoread)
|
||||
if(totalleft < (curl_off_t)bytestoread)
|
||||
bytestoread = (size_t)totalleft;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user