- fbx: 32 bit build fixes.

This commit is contained in:
Alexander Gessler
2012-08-10 23:26:49 +02:00
parent 315285faf0
commit 8d5b78c035
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1108,7 +1108,7 @@ private:
{
// locate source materials for this mesh
const std::vector<const Material*>& mats = model.GetMaterials();
if (materialIndex >= mats.size() || materialIndex < 0) {
if (static_cast<unsigned int>(materialIndex) >= mats.size() || materialIndex < 0) {
FBXImporter::LogError("material index out of bounds, setting default material");
out->mMaterialIndex = GetDefaultMaterial();
return;