Skip to content

Commit c70ec62

Browse files
Update check64bit.cpp
1 parent e4036c4 commit c70ec62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/check64bit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static bool isFunctionPointer(const Token* tok)
5252
{
5353
if (!tok || !tok->variable())
5454
return false;
55-
return Token::Match(tok->variable()->nameToken(), "%name% ) (");
55+
return Tokenizer::isFunctionPointer(tok->variable()->nameToken());
5656
}
5757

5858
void Check64BitPortability::pointerassignment()

0 commit comments

Comments
 (0)