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:
@@ -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