[calamares] Reduce warnings about signedness

This commit is contained in:
Adriaan de Groot 2018-11-11 13:53:58 +01:00
parent 6de55e6951
commit 1def06cfd3

View File

@ -70,7 +70,7 @@ handle_args( CalamaresApplication& a )
if ( !ok || ( l < 0 ) )
dlevel = Logger::LOGVERBOSE;
else
dlevel = l;
dlevel = static_cast<unsigned int>( l ); // l >= 0
Logger::setupLogLevel( dlevel );
}
if ( parser.isSet( configOption ) )