Fix comparison between signed and unsigned integer expressions.

This commit is contained in:
Kristian Bendiksen
2020-05-20 14:23:22 +02:00
parent 2f4ee076de
commit 30cec3e280
3 changed files with 9 additions and 8 deletions
@@ -1946,7 +1946,8 @@ void RimEclipseResultDefinition::updateRangesForExplicitLegends( RimRegularLegen
int frmIdx2 = it->first.second;
int combIndex = it->second;
if ( frmIdx1 >= fnVector.size() || frmIdx2 >= fnVector.size() ) continue;
int fnVectorSize = fnVector.size();
if ( frmIdx1 >= fnVectorSize || frmIdx2 >= fnVectorSize ) continue;
QString frmName1 = fnVector[frmIdx1];
QString frmName2 = fnVector[frmIdx2];