2
0
Эх сурвалжийг харах

GLTF2: Fix signed/unsigned warning

Turo Lamminen 7 жил өмнө
parent
commit
f470b8466f
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      code/glTF2Asset.inl

+ 1 - 1
code/glTF2Asset.inl

@@ -204,7 +204,7 @@ unsigned int LazyDict<T>::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);