- fix some -Wall warnings
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user