Fix a couple of Linux build warnings

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

No files matched your search

@@ -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())
{
@@ -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;