Silence some conversion warnings

This commit is contained in:
Jonas Kvinge
2022-02-06 04:19:45 +01:00
parent 8bf473dc3a
commit eee3445d2f
7 changed files with 17 additions and 17 deletions

View File

@@ -102,7 +102,7 @@ void BoomAnalyzer::resizeEvent(QResizeEvent *e) {
void BoomAnalyzer::transform(Scope &s) {
fht_->spectrum(s.data());
fht_->scale(s.data(), 1.0 / 50);
fht_->scale(s.data(), 1.0F / 50);
s.resize(scope_.size() <= static_cast<quint64>(kMaxBandCount) / 2 ? kMaxBandCount / 2 : scope_.size());