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>
This commit is contained in:
Jarek Kobus
2020-11-13 10:49:08 +01:00
parent 976a72a5d9
commit 11ce7e1206

View File

@@ -464,7 +464,7 @@ void Parser::Private::parseCostItem(const char *begin, const char *end)
if (currentCallData.calledFile == -1) { if (currentCallData.calledFile == -1) {
currentCallData.calledFile = currentDifferingFile != -1 ? currentDifferingFile : lastFile; currentCallData.calledFile = currentDifferingFile != -1 ? currentDifferingFile : lastFile;
//HACK: workaround issue where sometimes fi=??? lines are prepended to function calls //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; currentCallData.calledFile = lastFile;
} }
if (currentCallData.calledObject == -1) if (currentCallData.calledObject == -1)