[partition] Warnings--: we don't care about one-byte-in-10^12
This commit is contained in:
parent
bb3f4442f5
commit
09a03fbbc0
@ -212,7 +212,8 @@ ReplaceWidget::onPartitionSelected()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( partition->capacity() < requiredSpaceB )
|
// The loss of precision is ok; we're not going to fall over from a single byte
|
||||||
|
if ( static_cast< double >( partition->capacity() ) < requiredSpaceB )
|
||||||
{
|
{
|
||||||
updateStatus( CalamaresUtils::Fail,
|
updateStatus( CalamaresUtils::Fail,
|
||||||
tr( "<strong>%4</strong><br/><br/>"
|
tr( "<strong>%4</strong><br/><br/>"
|
||||||
|
Loading…
Reference in New Issue
Block a user