diff options
Diffstat (limited to 'Utilities/cmcurl/transfer.c')
-rw-r--r-- | Utilities/cmcurl/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/transfer.c b/Utilities/cmcurl/transfer.c index bff16b4..5cb3361 100644 --- a/Utilities/cmcurl/transfer.c +++ b/Utilities/cmcurl/transfer.c @@ -1244,7 +1244,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" |