Update utMDLImporter.cpp

unittests: Fix compiler warning: comparison between signed and unsigned.
pull/2952/head
Kim Kulling 2020-01-25 11:31:14 +01:00 committed by GitHub
parent 48bb2978af
commit fc4ae3586e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@ private:
// Test that the importer can directly load an HL1 MDL external texture file. // Test that the importer can directly load an HL1 MDL external texture file.
scene = importer->ReadFile(ASSIMP_TEST_MDL_HL1_MODELS_DIR "manT.mdl", aiProcess_ValidateDataStructure); scene = importer->ReadFile(ASSIMP_TEST_MDL_HL1_MODELS_DIR "manT.mdl", aiProcess_ValidateDataStructure);
EXPECT_NE(nullptr, scene); EXPECT_NE(nullptr, scene);
EXPECT_NE(0, scene->mNumTextures); EXPECT_NE(0u, scene->mNumTextures);
EXPECT_NE(0, scene->mNumMaterials); EXPECT_NE(0u, scene->mNumMaterials);
} }
}; };