mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix signed/unsigned compare
This commit is contained in:
@@ -99,7 +99,7 @@ void RicCreatePlotFromSelectionFeature::onActionTriggered( bool isChecked )
|
||||
QString indexAsString = stringList[1];
|
||||
|
||||
bool conversionOk = false;
|
||||
int index = indexAsString.toUInt( &conversionOk );
|
||||
auto index = indexAsString.toUInt( &conversionOk );
|
||||
|
||||
if ( conversionOk && index < sumCases.size() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user