mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix signed/unsigned compare
This commit is contained in:
parent
8ce6784517
commit
7f06f51e59
@ -672,7 +672,7 @@ int RimIntersection::branchIndex() const
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_branchIndex >= m_simulationWellBranchCenterlines.size())
|
if (m_branchIndex >= static_cast<int>(m_simulationWellBranchCenterlines.size()))
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user