aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-09 21:39:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-09 21:39:50 +0000
commit7b2869338d344a89e69d6a41bae185cbf4804181 (patch)
treed42172d7889b8d21dce4cdc1bc13d0d906624053 /lib/http.c
parentab35b2837f815cec6f655723491b24e941c75400 (diff)
explicit typecast to visualize that we really want the result of the
operation as a size_t
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 5be8a9e6f..66e38bf94 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -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)