mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Fix Linux build warnings
This commit is contained in:
1 parent
574effd6f2
commit
a33a2411ef
2 files changed
+2
-2
No files matched your search
@@ -584,7 +584,7 @@ std::pair<RimWellRftAddress, QDateTime> RimWellRftPlot::curveDefFromCurve(const
|
||||
const RimEclipseResultCase* gridCase = dynamic_cast<const RimEclipseResultCase*>(gridCurve->rimCase());
|
||||
if (gridCase != nullptr)
|
||||
{
|
||||
auto timeStepIndex = gridCurve->currentTimeStep();
|
||||
size_t timeStepIndex = gridCurve->currentTimeStep();
|
||||
auto timeSteps = timeStepsFromGridCase(gridCase);
|
||||
if (timeStepIndex < timeSteps.size())
|
||||
{
|
||||
|
||||
@@ -319,7 +319,7 @@ QList<caf::PdmOptionItemInfo> RimWellPath::calculateValueOptions(const caf::PdmF
|
||||
if (branchCount == 0)
|
||||
branchCount = 1;
|
||||
|
||||
int index = 0;
|
||||
size_t index = 0;
|
||||
while(index < branchCount)
|
||||
{
|
||||
QString uiText = QString("Branch %1").arg(QString::number(index + 1));
|
||||
|
||||
Reference in new issue
Block a user