From 11ce7e120600dc4b11cb3843d10d1cf4b1762ba5 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Fri, 13 Nov 2020 10:49:08 +0100 Subject: [PATCH] Silence the warning about comparing type with different signedness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Silence the warning: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘const long long int’ [-Wsign-compare] Change-Id: I3e0ace4a9aa354f9c8b30814265e9d7516fbdc7d Reviewed-by: hjk --- src/plugins/valgrind/callgrind/callgrindparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/valgrind/callgrind/callgrindparser.cpp b/src/plugins/valgrind/callgrind/callgrindparser.cpp index f481ff2dd94..dda06a50cde 100644 --- a/src/plugins/valgrind/callgrind/callgrindparser.cpp +++ b/src/plugins/valgrind/callgrind/callgrindparser.cpp @@ -464,7 +464,7 @@ void Parser::Private::parseCostItem(const char *begin, const char *end) if (currentCallData.calledFile == -1) { currentCallData.calledFile = currentDifferingFile != -1 ? currentDifferingFile : lastFile; //HACK: workaround issue where sometimes fi=??? lines are prepended to function calls - if (unknownFiles.contains(currentCallData.calledFile)) + if (unknownFiles.contains(quint64(currentCallData.calledFile))) currentCallData.calledFile = lastFile; } if (currentCallData.calledObject == -1)