Linux fixes

This commit is contained in:
Jacob Storen
2015-10-14 07:13:45 -07:00
parent 021de1444d
commit 10046eed4a
6 changed files with 8 additions and 8 deletions

View File

@@ -231,7 +231,7 @@ PdmObjectHandle* PdmReferenceHelper::objectFromReferenceStringList(PdmObjectHand
return NULL;
}
if (index > childObjects.size() - 1)
if (index < 0 || index > ((int)childObjects.size()) - 1)
{
return NULL;
}