1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-14 18:03:44 +01:00

unsigned long int

This commit is contained in:
Jonas Kvinge 2021-06-20 23:56:33 +02:00
parent 6e5ff01db5
commit 1f59a1b952

View File

@ -72,7 +72,7 @@ void Analyzer::Base::showEvent(QShowEvent*) { timer_.start(timeout(), this); }
void Analyzer::Base::transform(Scope &scope) { void Analyzer::Base::transform(Scope &scope) {
QVector<float> aux(fht_->size()); QVector<float> aux(fht_->size());
if (static_cast<long unsigned int>(aux.size()) >= scope.size()) { if (static_cast<unsigned long int>(aux.size()) >= scope.size()) {
std::copy(scope.begin(), scope.end(), aux.begin()); std::copy(scope.begin(), scope.end(), aux.begin());
} }
else { else {