Fix compile issues Linux

This commit is contained in:
Magne Sjaastad 2020-04-06 12:48:43 +02:00 committed by Gaute Lindkvist
parent d4130b456b
commit 1900caba50

View File

@ -586,8 +586,8 @@ QString Rim3dOverlayInfoConfig::caseInfoText( RimEclipseView* eclipseView )
} }
else if ( eclipseView->mainGrid() ) else if ( eclipseView->mainGrid() )
{ {
QString totCellCount = QString totCellCount = localeWithSpaceAsGroupSeparator.toString(
localeWithSpaceAsGroupSeparator.toString( eclipseView->mainGrid()->globalCellArray().size() ); static_cast<int>( eclipseView->mainGrid()->globalCellArray().size() ) );
size_t mxActCellCount = eclipseView->eclipseCase() size_t mxActCellCount = eclipseView->eclipseCase()
->eclipseCaseData() ->eclipseCaseData()
@ -600,9 +600,10 @@ QString Rim3dOverlayInfoConfig::caseInfoText( RimEclipseView* eclipseView )
QString activeCellCountText; QString activeCellCountText;
if ( frActCellCount > 0 ) activeCellCountText += "Matrix : "; if ( frActCellCount > 0 ) activeCellCountText += "Matrix : ";
activeCellCountText += localeWithSpaceAsGroupSeparator.toString( mxActCellCount ); activeCellCountText += localeWithSpaceAsGroupSeparator.toString( static_cast<int>( mxActCellCount ) );
if ( frActCellCount > 0 ) if ( frActCellCount > 0 )
activeCellCountText += " Fracture : " + localeWithSpaceAsGroupSeparator.toString( frActCellCount ); activeCellCountText += " Fracture : " +
localeWithSpaceAsGroupSeparator.toString( static_cast<int>( frActCellCount ) );
QString iSize = QString::number( eclipseView->mainGrid()->cellCountI() ); QString iSize = QString::number( eclipseView->mainGrid()->cellCountI() );
QString jSize = QString::number( eclipseView->mainGrid()->cellCountJ() ); QString jSize = QString::number( eclipseView->mainGrid()->cellCountJ() );