mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Linux fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user