Fix type conversion warning

This commit is contained in:
Zach Mullen 2011-05-27 10:45:41 -04:00
parent 9c3a0b9f14
commit 0e591ed4c2
1 changed files with 1 additions and 1 deletions

View File

@ -3099,7 +3099,7 @@ bool cmCTest::CompressString(std::string& str)
return false; return false;
} }
strm.avail_in = str.size(); strm.avail_in = static_cast<uInt>(str.size());
strm.next_in = in; strm.next_in = in;
strm.avail_out = outSize; strm.avail_out = outSize;
strm.next_out = out; strm.next_out = out;