Browse Source

Update utMDLImporter.cpp

unittests: Fix compiler warning: comparison between signed and unsigned.
Kim Kulling 5 years ago
parent
commit
fc4ae3586e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/unit/ImportExport/utMDLImporter.cpp

+ 2 - 2
test/unit/ImportExport/utMDLImporter.cpp

@@ -72,8 +72,8 @@ private:
         // 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);
         EXPECT_NE(nullptr, scene);
-        EXPECT_NE(0, scene->mNumTextures);
-        EXPECT_NE(0, scene->mNumMaterials);
+        EXPECT_NE(0u, scene->mNumTextures);
+        EXPECT_NE(0u, scene->mNumMaterials);
     }
 };