From 2f78d48d6bfc415d4f60853148b5f607930fe9a6 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sun, 8 Oct 2023 14:25:11 +0200 Subject: [PATCH] Fix: Warning implicite convertion --- test/unit/utglTF2ImportExport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/utglTF2ImportExport.cpp b/test/unit/utglTF2ImportExport.cpp index 8b976ce42..535042682 100644 --- a/test/unit/utglTF2ImportExport.cpp +++ b/test/unit/utglTF2ImportExport.cpp @@ -544,7 +544,7 @@ bool checkSkinnedScene(const aiScene *scene){ map[key] = weight; } - for (size_t jointIndex = 0; jointIndex < scene->mMeshes[0]->mBones[boneIndex]->mNumWeights; ++jointIndex) { + for (unsigned int jointIndex = 0; jointIndex < scene->mMeshes[0]->mBones[boneIndex]->mNumWeights; ++jointIndex) { auto weight = map[jointIndex]; EXPECT_LT(abs(ai_real(weight) - ai_real(weights[boneIndex][jointIndex])), 0.002); }