Fix a couple of Linux build warnings

This commit is contained in:
Bjørn Erik Jensen
2018-09-04 15:17:43 +02:00
parent fc1cc272db
commit e9d37e914d
2 changed files with 2 additions and 2 deletions

View File

@@ -2132,7 +2132,7 @@ cvf::Vec2i RicWellPathExportCompletionDataFeatureImpl::wellPathUpperGridIntersec
std::vector<WellPathCellIntersectionInfo> intersections =
RigWellPathIntersectionTools::findCellIntersectionInfosAlongPath(caseData, coords, mds);
size_t gridId = 0;
int gridId = 0;
if (!gridName.isEmpty())
{

View File

@@ -313,7 +313,7 @@ std::vector<LocationForNewFracture> RiuCreateMultipleFractionsUi::locationsForNe
double lastFracMd = mdOfWellPathTip;
// Iterate options which are sorted from deeper to shallower
for(int i = 0; i < options.size(); i++)
for(size_t i = 0; i < options.size(); i++)
{
const auto& option = options[i];
double fracMdCandidate;