comparison UnitTestsSources/StreamTests.cpp @ 1545:33d34bc4ac15

fix msvc warnings
author jodogne
date Thu, 13 Aug 2015 21:02:31 +0200
parents 096a8af528c9
children b1291df2f780
comparison
equal deleted inserted replaced
1544:4d0e2c38d15b 1545:33d34bc4ac15
181 bool allowGzip = false, 181 bool allowGzip = false,
182 bool allowDeflate = false) 182 bool allowDeflate = false)
183 { 183 {
184 stream.SetupHttpCompression(allowGzip, allowDeflate); 184 stream.SetupHttpCompression(allowGzip, allowDeflate);
185 185
186 result.resize(stream.GetContentLength()); 186 result.resize(static_cast<size_t>(stream.GetContentLength()));
187 187
188 size_t pos = 0; 188 size_t pos = 0;
189 while (stream.ReadNextChunk()) 189 while (stream.ReadNextChunk())
190 { 190 {
191 size_t s = stream.GetChunkSize(); 191 size_t s = stream.GetChunkSize();