diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-08 15:34:12 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-08 15:34:12 (GMT) |
commit | f5fe20dc12641ae58b9716aba98ccbaf52303113 (patch) | |
tree | f46f422237d324672a77b595c8fa7529adaf2965 /Source/cmSystemTools.cxx | |
parent | aae8dca79769583439661418a91c6ed3e884024d (diff) | |
download | CMake-f5fe20dc12641ae58b9716aba98ccbaf52303113.zip CMake-f5fe20dc12641ae58b9716aba98ccbaf52303113.tar.gz CMake-f5fe20dc12641ae58b9716aba98ccbaf52303113.tar.bz2 |
Fix some warnings
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index f18685f..62603d6 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1819,10 +1819,10 @@ bool cmSystemTools::CreateTar(const char* outFileName, return false; } char buff[16384]; - int len = fread(buff, 1, sizeof(buff), file); + size_t len = fread(buff, 1, sizeof(buff), file); while (len > 0) { - int wlen = archive_write_data(a, buff, len); + size_t wlen = archive_write_data(a, buff, len); if(wlen != len) { cmOStringStream error; |