Mercurial > hg > orthanc
diff UnitTestsSources/StreamTests.cpp @ 1545:33d34bc4ac15
fix msvc warnings
author | jodogne |
---|---|
date | Thu, 13 Aug 2015 21:02:31 +0200 |
parents | 096a8af528c9 |
children | b1291df2f780 |
line wrap: on
line diff
--- a/UnitTestsSources/StreamTests.cpp Thu Aug 13 20:39:30 2015 +0200 +++ b/UnitTestsSources/StreamTests.cpp Thu Aug 13 21:02:31 2015 +0200 @@ -183,7 +183,7 @@ { stream.SetupHttpCompression(allowGzip, allowDeflate); - result.resize(stream.GetContentLength()); + result.resize(static_cast<size_t>(stream.GetContentLength())); size_t pos = 0; while (stream.ReadNextChunk())