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

@@ -30,7 +30,7 @@ int MDLRoot::getNumBodyParts()
BodyPart * MDLRoot::getBodyPart(int partIndex)
{
if ((partIndex < 0) || (partIndex >= body_parts.size()))
if ((partIndex < 0) || (partIndex >= static_cast<int>(body_parts.size())))
return NULL;
else
return body_parts[partIndex];