- fix some -Wall warnings

This commit is contained in:
acgessler
2012-07-08 03:28:14 +02:00
parent 8ec96d88c5
commit 879f2ed177
9 changed files with 18 additions and 23 deletions

View File

@@ -394,7 +394,7 @@ aiNode* XGLImporter::ReadObject(TempScope& scope, bool skipFirst, const char* cl
// XXX
}
else if (s == "meshref") {
const int id = ReadIndexFromText();
const unsigned int id = static_cast<unsigned int>( ReadIndexFromText() );
std::multimap<unsigned int, aiMesh*>::iterator it = scope.meshes.find(id), end = scope.meshes.end();
if (it == end) {