diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-03-18 20:18:50 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-03-18 20:18:50 (GMT) |
commit | a58b0d68568a8fdd07dec59576f40da5dffab192 (patch) | |
tree | 64a3e665158766a97a45ecc00b610dea11019d67 /Utilities/cmcurl/transfer.c | |
parent | faa2d53e3fb920c9e33d97d4eabf8f5a921e95d6 (diff) | |
download | CMake-a58b0d68568a8fdd07dec59576f40da5dffab192.zip CMake-a58b0d68568a8fdd07dec59576f40da5dffab192.tar.gz CMake-a58b0d68568a8fdd07dec59576f40da5dffab192.tar.bz2 |
COMP: Remove some warnings
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" |