diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index f99442d53..b7213518b 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -4452,7 +4452,7 @@ void Tokenizer::simplifyEnum() else if (Token::Match(tok1, "%type% = %num% ,|}")) { enumName = tok1; - last_value = atoi(tok1->strAt(2)); + last_value = std::atoi(tok1->strAt(2)); enumValue = tok1->tokAt(2); }