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:
e23ba31
)
typecast the assigment of an unsigned variable to a signed one to prevent
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 9 Aug 2004 08:29:39 +0000
(08:29 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 9 Aug 2004 08:29:39 +0000
(08:29 +0000)
picky warnings
lib/transfer.c
patch
|
blob
|
history
diff --git
a/lib/transfer.c
b/lib/transfer.c
index
a12ae5f
..
5fab2ff
100644
(file)
--- a/
lib/transfer.c
+++ b/
lib/transfer.c
@@
-403,7
+403,7
@@
CURLcode Curl_readwrite(struct connectdata *conn,
else {
/* this was all we read so its all a bad header */
k->badheader = HEADER_ALLBAD;
- nread = rest_length;
+ nread =
(ssize_t)
rest_length;
}
break;
}