From 98d3cc2637c52cce867d610daa823984faf63b86 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 12 Jun 2024 20:58:51 +0200 Subject: [PATCH] AnalyzerBase: Add static_cast --- src/analyzer/analyzerbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyzer/analyzerbase.cpp b/src/analyzer/analyzerbase.cpp index a80590e00..5a9c7e5bc 100644 --- a/src/analyzer/analyzerbase.cpp +++ b/src/analyzer/analyzerbase.cpp @@ -88,7 +88,7 @@ void AnalyzerBase::ChangeTimeout(const int timeout) { void AnalyzerBase::transform(Scope &scope) { QVector aux(fht_->size()); - if (aux.size() >= scope.size()) { + if (static_cast(aux.size()) >= scope.size()) { std::copy(scope.begin(), scope.end(), aux.begin()); } else {