Fixed build warnings on MSVC14 x64 in the 3DS format sources.

This commit is contained in:
Jared Mulconry
2016-11-19 00:08:44 +11:00
parent a9c5b6f1be
commit 505928cc02
2 changed files with 3 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ namespace {
const std::size_t chunk_size = head_pos - chunk_start_pos;
writer.SetCurrentPos(chunk_start_pos + SIZE_OFFSET);
writer.PutU4(chunk_size);
writer.PutU4(static_cast<uint32_t>(chunk_size));
writer.SetCurrentPos(head_pos);
}