From 1900caba50904d7a612688ed7319c9e2d71c3a5b Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Mon, 6 Apr 2020 12:48:43 +0200 Subject: [PATCH] Fix compile issues Linux --- .../ProjectDataModel/Rim3dOverlayInfoConfig.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ApplicationCode/ProjectDataModel/Rim3dOverlayInfoConfig.cpp b/ApplicationCode/ProjectDataModel/Rim3dOverlayInfoConfig.cpp index f3a8df93a9..d5a71ad651 100644 --- a/ApplicationCode/ProjectDataModel/Rim3dOverlayInfoConfig.cpp +++ b/ApplicationCode/ProjectDataModel/Rim3dOverlayInfoConfig.cpp @@ -586,8 +586,8 @@ QString Rim3dOverlayInfoConfig::caseInfoText( RimEclipseView* eclipseView ) } else if ( eclipseView->mainGrid() ) { - QString totCellCount = - localeWithSpaceAsGroupSeparator.toString( eclipseView->mainGrid()->globalCellArray().size() ); + QString totCellCount = localeWithSpaceAsGroupSeparator.toString( + static_cast( eclipseView->mainGrid()->globalCellArray().size() ) ); size_t mxActCellCount = eclipseView->eclipseCase() ->eclipseCaseData() @@ -600,9 +600,10 @@ QString Rim3dOverlayInfoConfig::caseInfoText( RimEclipseView* eclipseView ) QString activeCellCountText; if ( frActCellCount > 0 ) activeCellCountText += "Matrix : "; - activeCellCountText += localeWithSpaceAsGroupSeparator.toString( mxActCellCount ); + activeCellCountText += localeWithSpaceAsGroupSeparator.toString( static_cast( mxActCellCount ) ); if ( frActCellCount > 0 ) - activeCellCountText += " Fracture : " + localeWithSpaceAsGroupSeparator.toString( frActCellCount ); + activeCellCountText += " Fracture : " + + localeWithSpaceAsGroupSeparator.toString( static_cast( frActCellCount ) ); QString iSize = QString::number( eclipseView->mainGrid()->cellCountI() ); QString jSize = QString::number( eclipseView->mainGrid()->cellCountJ() );