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
9b0427aba9
commit
69b6ca6956
@ -165,7 +165,7 @@ void RivSimWellPipesPartMgr::buildWellPipeParts(const caf::DisplayCoordTransform
|
||||
size_t branchIdxStop = pipeBranchesCellIds.size();
|
||||
if (m_pipeBranchesCLCoords.size() > 1)
|
||||
{
|
||||
if (branchIndex >= 0 && branchIndex < branchIdxStop)
|
||||
if (branchIndex >= 0 && branchIndex < static_cast<int>(branchIdxStop))
|
||||
{
|
||||
branchIdxStart = branchIndex;
|
||||
branchIdxStop = branchIdxStart + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user