1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-12 04:25:08 -05:00

Fixed compiler warning.

This commit is contained in:
Dan Fandrich 2007-01-26 17:50:06 +00:00
parent 02fb4d96d1
commit e6aed92742

View File

@ -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;
}