mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -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
|
might be pipelining and then someone else might want to read what
|
||||||
follows! */
|
follows! */
|
||||||
curl_off_t totalleft = k->size - k->bytecount;
|
curl_off_t totalleft = k->size - k->bytecount;
|
||||||
if(totalleft < bytestoread)
|
if(totalleft < (curl_off_t)bytestoread)
|
||||||
bytestoread = (size_t)totalleft;
|
bytestoread = (size_t)totalleft;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user