[partition] Repair comparison

This commit is contained in:
Adriaan de Groot 2023-11-14 13:50:08 +01:00 committed by Philip Mueller
parent bb99e4790e
commit c490434f02

View File

@ -320,7 +320,7 @@ fillGSConfigurationEFI( Calamares::GlobalStorage* gs, const QVariantMap& configu
Calamares::Partition::PartitionSize part_size = Calamares::Partition::PartitionSize( efiMinimumSize ); Calamares::Partition::PartitionSize part_size = Calamares::Partition::PartitionSize( efiMinimumSize );
if ( part_size.isValid() ) if ( part_size.isValid() )
{ {
if ( part_size > PartUtils::efiFilesystemRecommendedSize() ) if ( part_size.toBytes() > PartUtils::efiFilesystemRecommendedSize() )
{ {
cWarning() << "EFI minimum size" << efiMinimumSize << "is larger than the recommended size" cWarning() << "EFI minimum size" << efiMinimumSize << "is larger than the recommended size"
<< efiRecommendedSize << ", ignored."; << efiRecommendedSize << ", ignored.";