projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab35b28
)
explicit typecast to visualize that we really want the result of the
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 9 Mar 2004 21:39:50 +0000
(21:39 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 9 Mar 2004 21:39:50 +0000
(21:39 +0000)
operation as a size_t
lib/http.c
patch
|
blob
|
history
diff --git
a/lib/http.c
b/lib/http.c
index
5be8a9e
..
66e38bf
100644
(file)
--- 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)