diff --git a/test/unit/ImportExport/MDL/utMDLImporter_HL1_ImportSettings.cpp b/test/unit/ImportExport/MDL/utMDLImporter_HL1_ImportSettings.cpp index b5d34843f..90ba860c3 100644 --- a/test/unit/ImportExport/MDL/utMDLImporter_HL1_ImportSettings.cpp +++ b/test/unit/ImportExport/MDL/utMDLImporter_HL1_ImportSettings.cpp @@ -71,7 +71,7 @@ public: AI_CONFIG_IMPORT_MDL_HL1_READ_ANIMATIONS, false, // Set config value to false. [&](const aiScene *scene) { - EXPECT_EQ(0, scene->mNumAnimations); + EXPECT_EQ(0u, scene->mNumAnimations); EXPECT_EQ(nullptr, scene->mRootNode->FindNode(AI_MDL_HL1_NODE_SEQUENCE_INFOS)); EXPECT_EQ(nullptr, scene->mRootNode->FindNode(AI_MDL_HL1_NODE_SEQUENCE_GROUPS)); EXPECT_EQ(nullptr, scene->mRootNode->FindNode(AI_MDL_HL1_NODE_SEQUENCE_TRANSITION_GRAPH)); @@ -89,7 +89,7 @@ public: AI_CONFIG_IMPORT_MDL_HL1_READ_BLEND_CONTROLLERS, false, // Set config value to false. [&](const aiScene *scene) { - EXPECT_NE(0, scene->mNumAnimations); + EXPECT_NE(0u, scene->mNumAnimations); const aiNode *sequence_infos = scene->mRootNode->FindNode(AI_MDL_HL1_NODE_SEQUENCE_INFOS); EXPECT_NE(nullptr, sequence_infos); @@ -107,7 +107,7 @@ public: AI_CONFIG_IMPORT_MDL_HL1_READ_ANIMATION_EVENTS, false, // Set config value to false. [&](const aiScene *scene) { - EXPECT_NE(0, scene->mNumAnimations); + EXPECT_NE(0u, scene->mNumAnimations); const aiNode *sequence_infos = scene->mRootNode->FindNode(AI_MDL_HL1_NODE_SEQUENCE_INFOS); EXPECT_NE(nullptr, sequence_infos); diff --git a/test/unit/ImportExport/MDL/utMDLImporter_HL1_Nodes.cpp b/test/unit/ImportExport/MDL/utMDLImporter_HL1_Nodes.cpp index cbdbfc65e..9b20b2caa 100644 --- a/test/unit/ImportExport/MDL/utMDLImporter_HL1_Nodes.cpp +++ b/test/unit/ImportExport/MDL/utMDLImporter_HL1_Nodes.cpp @@ -211,7 +211,7 @@ public: const aiNode *bodyparts_node = scene->mRootNode->FindNode(AI_MDL_HL1_NODE_BODYPARTS); EXPECT_NE(nullptr, bodyparts_node); - EXPECT_EQ(3, bodyparts_node->mNumChildren); + EXPECT_EQ(3u, bodyparts_node->mNumChildren); for (unsigned int i = 0; i < bodyparts_node->mNumChildren; ++i) { expect_named_children(bodyparts_node->mChildren[i], expected_bodypart_sub_models_names[i]);