summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2011-05-27 14:45:41 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2011-05-27 14:45:41 (GMT)
commit0e591ed4c24cdcea2727f07eae1502700d10efb1 (patch)
tree6df57f2ee3d758c05c6f249521ef0ec6aa85392a /Source/cmCTest.cxx
parent9c3a0b9f140f8503bb177c97aadab26fbdded197 (diff)
downloadCMake-0e591ed4c24cdcea2727f07eae1502700d10efb1.zip
CMake-0e591ed4c24cdcea2727f07eae1502700d10efb1.tar.gz
CMake-0e591ed4c24cdcea2727f07eae1502700d10efb1.tar.bz2
Fix type conversion warning
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 60f01aa..75a564e 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -3099,7 +3099,7 @@ bool cmCTest::CompressString(std::string& str)
return false;
}
- strm.avail_in = str.size();
+ strm.avail_in = static_cast<uInt>(str.size());
strm.next_in = in;
strm.avail_out = outSize;
strm.next_out = out;