diff --git a/src/calamares/main.cpp b/src/calamares/main.cpp index f855b060f..b84d4f4db 100644 --- a/src/calamares/main.cpp +++ b/src/calamares/main.cpp @@ -70,7 +70,7 @@ handle_args( CalamaresApplication& a ) if ( !ok || ( l < 0 ) ) dlevel = Logger::LOGVERBOSE; else - dlevel = l; + dlevel = static_cast( l ); // l >= 0 Logger::setupLogLevel( dlevel ); } if ( parser.isSet( configOption ) )