From f470b8466fb52b13ff3e11c917072fc44d271ac4 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Tue, 14 Nov 2017 18:42:04 +0200 Subject: [PATCH] GLTF2: Fix signed/unsigned warning --- code/glTF2Asset.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/glTF2Asset.inl b/code/glTF2Asset.inl index 37a8fc662..f37d592c1 100644 --- a/code/glTF2Asset.inl +++ b/code/glTF2Asset.inl @@ -204,7 +204,7 @@ unsigned int LazyDict::Remove(const char* id) throw DeadlyExportError("GLTF: Object with id \"" + std::string(id) + "\" is not found"); } - const int index = it->second; + const unsigned int index = it->second; mAsset.mUsedIds[id] = false; mObjsById.erase(id);