mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 16:38:21 -04:00
[libcalamares] Fix compilation of tests
- QCOMPARE is picky with types, enum vs unsigned int, so just hit it with a hammer.
This commit is contained in:
parent
fc99824c8d
commit
4a2ca8bb77
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ LibCalamaresTests::testDebugLevels()
|
|||
{
|
||||
Logger::setupLogLevel( Logger::LOG_DISABLE );
|
||||
|
||||
QCOMPARE( Logger::logLevel(), Logger::LOG_DISABLE );
|
||||
QCOMPARE( Logger::logLevel(), static_cast<unsigned int>( Logger::LOG_DISABLE ) );
|
||||
|
||||
for ( unsigned int level = 0; level <= Logger::LOGVERBOSE ; ++level )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue