summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-09-27 18:44:11 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-09-27 18:44:11 (GMT)
commit887699184a3cdbaa1b38f2c5a38e43de3e11b063 (patch)
tree6f95b6fa4a0a70ce2704d100aaab0cc48594673b /Source/cmSystemTools.cxx
parentef3c6f31fde39f7a68c4eab68e57815b2190b6da (diff)
downloadCMake-887699184a3cdbaa1b38f2c5a38e43de3e11b063.zip
CMake-887699184a3cdbaa1b38f2c5a38e43de3e11b063.tar.gz
CMake-887699184a3cdbaa1b38f2c5a38e43de3e11b063.tar.bz2
COMP: remove warnings
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 2f5bb5b..04d6885 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1661,7 +1661,7 @@ ssize_t cmSystemToolsGZStructWrite(void* call_data, const void* buf,
size_t count)
{
cmSystemToolsGZStruct* gzf = static_cast<cmSystemToolsGZStruct*>(call_data);
- return gzwrite(gzf->GZFile, (void*)buf, count);
+ return gzwrite(gzf->GZFile, (void*)buf, static_cast<int>(count));
}
#endif