diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-11-13 10:49:08 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-11-13 10:17:31 +0000 |
commit | 11ce7e120600dc4b11cb3843d10d1cf4b1762ba5 (patch) | |
tree | 4d9b9ceca1afda51eed159f238f187b1e0a9b729 | |
parent | 976a72a5d90e6e56e764040ad07d8d65aff7ce2a (diff) |
Silence the warning about comparing type with different signedness
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 <hjk@qt.io>
-rw-r--r-- | src/plugins/valgrind/callgrind/callgrindparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/valgrind/callgrind/callgrindparser.cpp b/src/plugins/valgrind/callgrind/callgrindparser.cpp index f481ff2dd9..dda06a50cd 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) |