Fix compiler warnings.

This commit is contained in:
kkulling
2019-03-13 14:40:02 +01:00
parent 152cddedd3
commit 0dc2e9197a
5 changed files with 7 additions and 7 deletions

View File

@@ -708,7 +708,7 @@ void AssbinImporter::InternReadFile( const std::string& pFile, aiScene* pScene,
unsigned char * uncompressedData = new unsigned char[ uncompressedSize ];
int res = uncompress( uncompressedData, &uncompressedSize, compressedData, len );
int res = uncompress( uncompressedData, &uncompressedSize, compressedData, (uLong) len );
if(res != Z_OK)
{
delete [] uncompressedData;