Borland C++: Fix to make it compile
This commit is contained in:
parent
f14c2d6155
commit
e71c6aaa9f
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue