AnalyzerBase: Add static_cast

This commit is contained in:
Jonas Kvinge 2024-06-12 20:58:51 +02:00
parent 8339aa0934
commit 98d3cc2637
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ void AnalyzerBase::ChangeTimeout(const int timeout) {
void AnalyzerBase::transform(Scope &scope) {
QVector<float> aux(fht_->size());
if (aux.size() >= scope.size()) {
if (static_cast<quint64>(aux.size()) >= scope.size()) {
std::copy(scope.begin(), scope.end(), aux.begin());
}
else {