Skip to content
Snippets Groups Projects
Commit 7b286933 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

operation as a size_t
parent ab35b283
No related branches found
No related tags found
No related merge requests found
......@@ -1259,7 +1259,7 @@ CURLcode Curl_http(struct connectdata *conn)
input. If we knew it was a proper file we could've just
fseek()ed but we only have a stream here */
do {
size_t readthisamountnow = (conn->resume_from - passed);
size_t readthisamountnow = (size_t)(conn->resume_from - passed);
size_t actuallyread;
if(readthisamountnow > BUFSIZE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment