Fixed compiler warning.
This commit is contained in:
Родитель
02fb4d96d1
Коммит
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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче