Fixed warnings

This commit is contained in:
Robert Osfield
2008-12-22 21:16:40 +00:00
parent 21b633e73b
commit c0b696ba52
6 changed files with 8 additions and 12 deletions

View File

@@ -48,7 +48,7 @@ int Model::getNumMeshes()
Mesh * Model::getMesh(int meshIndex)
{
if ((meshIndex < 0) || (meshIndex >= model_meshes.size()))
if ((meshIndex < 0) || (meshIndex >= static_cast<int>(model_meshes.size())))
return NULL;
else
return model_meshes[meshIndex];