aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-07 00:38:46 +0000
committerYang Tse <yangsita@gmail.com>2007-04-07 00:38:46 +0000
commit47594be5c0d28a77f1cecf3cb7badc975f9a9297 (patch)
treea6dcb1d7315ea2b3130acc38bbb16ec034c7a518
parent0d635a11199c3eae6f2ad8cb02e588fe189cd3c7 (diff)
fix compiler warning
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index a7b3a724d..f4b0380d3 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -1252,7 +1252,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
(k->bytecount + nread >= k->maxdownload)) {
/* The 'excess' amount below can't be more than BUFSIZE which
always will fit in a size_t */
- size_t excess = k->bytecount + nread - k->maxdownload;
+ size_t excess = (size_t)(k->bytecount + nread - k->maxdownload);
if (excess > 0 && !k->ignorebody) {
infof(data,
"Rewinding stream by : %d"