Fix signed/unsigned compare

This commit is contained in:
Magne Sjaastad 2018-03-06 10:29:35 +01:00
parent 8ce6784517
commit 7f06f51e59

View File

@ -672,7 +672,7 @@ int RimIntersection::branchIndex() const
return -1;
}
if (m_branchIndex >= m_simulationWellBranchCenterlines.size())
if (m_branchIndex >= static_cast<int>(m_simulationWellBranchCenterlines.size()))
{
return -1;
}