Fix signed/unsigned compare

This commit is contained in:
Magne Sjaastad 2019-09-20 12:24:24 +02:00
parent a7c92a43e5
commit f7b53aa666

View File

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