summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppchecksymbols.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cppchecksymbols.cpp')
-rw-r--r--src/plugins/cpptools/cppchecksymbols.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppchecksymbols.cpp b/src/plugins/cpptools/cppchecksymbols.cpp
index 6e32d6e83a..54819db467 100644
--- a/src/plugins/cpptools/cppchecksymbols.cpp
+++ b/src/plugins/cpptools/cppchecksymbols.cpp
@@ -1282,9 +1282,9 @@ bool CheckSymbols::maybeAddFunction(const QList<LookupItem> &candidates, NameAST
// Add a diagnostic message if argument count does not match
if (matchType == Match_TooFewArgs)
- warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too few arguments", length);
+ warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too few arguments", 0, length));
else if (matchType == Match_TooManyArgs)
- warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too many arguments", length);
+ warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too many arguments", 0, length));
const Use use(line, column, length, kind);
addUse(use);