mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
System : Fix invalid compare between signed / unsigned
This commit is contained in:
1 parent
f03e9a2fb5
commit
e6ad33c057
1 file changed
+1
-1
@@ -393,7 +393,7 @@ size_t RigFemPart::resultValueIdxFromResultPosType(RigFemResultPosEnum resultPos
|
||||
{
|
||||
if (resultPosType == RIG_ELEMENT || resultPosType == RIG_FORMATION_NAMES)
|
||||
{
|
||||
CVF_ASSERT(elementIdx < m_elementId.size());
|
||||
CVF_ASSERT(elementIdx < static_cast<int>(m_elementId.size()));
|
||||
return elementIdx;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user