mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
System : Fix invalid compare between signed / unsigned
This commit is contained in:
parent
f03e9a2fb5
commit
e6ad33c057
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user