GLTF2: Fix signed/unsigned warning

pull/1498/head
Turo Lamminen 2017-11-14 18:42:04 +02:00
parent f90019bc1e
commit f470b8466f
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ unsigned int LazyDict<T>::Remove(const char* id)
throw DeadlyExportError("GLTF: Object with id \"" + std::string(id) + "\" is not found"); 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; mAsset.mUsedIds[id] = false;
mObjsById.erase(id); mObjsById.erase(id);