Fix signed/unsigned compare

This commit is contained in:
Magne Sjaastad 2017-11-09 14:25:42 +01:00
parent c9fd4604db
commit 161690d9c8

View File

@ -889,7 +889,7 @@ RigEclipseWellLogExtractor* RimWellLogTrack::createSimWellExtractor(RimWellLogPl
RimProject* proj = RiaApplication::instance()->project();
std::vector<const RigWellPath*> wellPaths = proj->simulationWellBranches(simWellName);
CVF_ASSERT(branchIndex < wellPaths.size());
CVF_ASSERT(branchIndex < static_cast<int>(wellPaths.size()));
if (wellPaths.size() == 0) return nullptr;