Compile fix for gcc 4.5 and higher

This commit is contained in:
Shauren
2012-02-23 16:14:50 +01:00
parent adc115dc41
commit 8ae3037307

View File

@@ -83,7 +83,7 @@ void LoadGameObjectModelList()
}
fclose(model_list_file);
sLog->outString(">> Loaded %d GameObject models in %u ms", model_list.size(), GetMSTimeDiffToNow(oldMSTime));
sLog->outString(">> Loaded %u GameObject models in %u ms", model_list.size(), GetMSTimeDiffToNow(oldMSTime));
sLog->outString();
}
@@ -103,7 +103,7 @@ bool GameObjectModel::initialize(const GameObject& go, const GameObjectDisplayIn
// ignore models with no bounds
if (mdl_box == G3D::AABox::zero())
{
sLog->outError("GameObject model %s has zero bounds, loading skipped", it->second.name);
sLog->outError("GameObject model %s has zero bounds, loading skipped", it->second.name.c_str());
return false;
}