From 612e83d5af687042dfa603543d99028bf915bedd Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Tue, 2 Aug 2016 14:31:07 +0200 Subject: [PATCH] SymbolDatabase: Small fix --- lib/symboldatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index de7ebd938..853ee1ab0 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -3697,7 +3697,7 @@ const Function* Scope::findFunction(const Token *tok, bool requireConst) const // check for a match with a string literal else if (Token::Match(arguments[j], "%str% ,|)") && funcarg->typeStartToken() != funcarg->typeEndToken() && - Token::Match(funcarg->typeStartToken(), "char|wchar *")) { + Token::Match(funcarg->typeStartToken(), "char|wchar_t *")) { same++; }