Borland C++: Fix to make it compile

This commit is contained in:
Daniel Marjamäki 2009-02-07 18:35:55 +00:00
parent f14c2d6155
commit e71c6aaa9f
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ Token *CheckMemoryLeakClass::getcode(const Token *tok, std::list<const Token *>
if (sz > 1 &&
Token::Match(tok->tokAt(2), "malloc ( %num% )") &&
(atoi(tok->strAt(4)) % sz) != 0)
(std::atoi(tok->strAt(4)) % sz) != 0)
{
ErrorMessage::mismatchSize(_errorLogger, _tokenizer, tok->tokAt(4), tok->strAt(4));
}