Fixed build warnings on MSVC14 x64 in the FBX format sources.

This commit is contained in:
Jared Mulconry
2016-11-19 23:50:03 +11:00
parent acad22cc1e
commit 2ac9b0ce45
4 changed files with 7 additions and 7 deletions

View File

@@ -583,7 +583,7 @@ void ReadBinaryDataArray(char type, uint32_t count, const char*& data, const cha
zstream.next_in = reinterpret_cast<Bytef*>( const_cast<char*>(data) );
zstream.avail_in = comp_len;
zstream.avail_out = buff.size();
zstream.avail_out = static_cast<uInt>(buff.size());
zstream.next_out = reinterpret_cast<Bytef*>(&*buff.begin());
const int ret = inflate(&zstream, Z_FINISH);