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) {
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());
}
else {