Skip to content

Commit

Permalink
Fix a fatal warning on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jan 8, 2025
1 parent fb9a86e commit 5da1763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decoders/oem/test/oem_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2992,7 +2992,7 @@ TEST_F(ParserTest, PARSE_FILE_WITH_FILTER)
const std::size_t chunkSize = 32;
std::vector<char> buffer(chunkSize);
while (clInputFileStream.read(buffer.data(), chunkSize) || clInputFileStream.gcount() > 0) {
std::size_t n = clInputFileStream.gcount();
auto n = static_cast<uint32_t>(clInputFileStream.gcount());
pclParser->Write(reinterpret_cast<const uint8_t*>(buffer.data()), n);
while (true)
{
Expand Down

0 comments on commit 5da1763

Please sign in to comment.