Test fixes

Test fixes
This commit is contained in:
rickomax
2019-01-06 19:38:29 -02:00
parent 35a044bda3
commit f170c84226
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ void IFCImporter::InternReadFile( const std::string& pFile, aiScene* pScene, IOS
free(buffer);
} while (read > 0);
size_t filesize = fileInfo.uncompressed_size;
if (total < 0 || size_t(total) != filesize)
if (total == 0 || size_t(total) != filesize)
{
delete[] buff;
ThrowException("Failed to decompress IFC ZIP file");