1
0
Эх сурвалжийг харах

Fix type conversion warning

Zach Mullen 14 жил өмнө
parent
commit
0e591ed4c2
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      Source/cmCTest.cxx

+ 1 - 1
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;