fix compiler warning

This commit is contained in:
Yang Tse 2007-04-07 00:38:46 +00:00
parent 0d635a1119
commit 47594be5c0
1 changed files with 1 additions and 1 deletions

View File

@ -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"