mirror of
https://github.com/curl/curl.git
synced 2026-08-03 06:50:27 +03:00
Fixed compiler warning.
This commit is contained in:
parent
02fb4d96d1
commit
e6aed92742
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue