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

@@ -40,7 +40,7 @@ int BodyPart::getNumModels()
Model * BodyPart::getModel(int partIndex)
{
if ((partIndex < 0) || (partIndex >= part_models.size()))
if ((partIndex < 0) || (partIndex >= static_cast<int>(part_models.size())))
return NULL;
else
return part_models[partIndex];