[calamares] Reduce warnings now that getInteger is qint64

This commit is contained in:
Adriaan de Groot 2019-08-21 11:56:49 +02:00
parent 82622373bc
commit 310a1d76cf
4 changed files with 5 additions and 5 deletions

View file

@ -69,7 +69,7 @@ void
ShellProcessJob::setConfigurationMap( const QVariantMap& configurationMap )
{
bool dontChroot = CalamaresUtils::getBool( configurationMap, "dontChroot", false );
int timeout = CalamaresUtils::getInteger( configurationMap, "timeout", 10 );
qint64 timeout = CalamaresUtils::getInteger( configurationMap, "timeout", 10 );
if ( timeout < 1 )
{
timeout = 10;