explicit typecast to visualize that we really want the result of the

operation as a size_t
This commit is contained in:
Daniel Stenberg 2004-03-09 21:39:50 +00:00
Родитель ab35b2837f
Коммит 7b2869338d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1259,7 +1259,7 @@ CURLcode Curl_http(struct connectdata *conn)
input. If we knew it was a proper file we could've just input. If we knew it was a proper file we could've just
fseek()ed but we only have a stream here */ fseek()ed but we only have a stream here */
do { do {
size_t readthisamountnow = (conn->resume_from - passed); size_t readthisamountnow = (size_t)(conn->resume_from - passed);
size_t actuallyread; size_t actuallyread;
if(readthisamountnow > BUFSIZE) if(readthisamountnow > BUFSIZE)