From e71c6aaa9f149a262a96454e9bb48b333a510ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 7 Feb 2009 18:35:55 +0000 Subject: [PATCH] Borland C++: Fix to make it compile --- src/checkmemoryleak.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checkmemoryleak.cpp b/src/checkmemoryleak.cpp index 2a189a082..e6e5976a2 100644 --- a/src/checkmemoryleak.cpp +++ b/src/checkmemoryleak.cpp @@ -391,7 +391,7 @@ Token *CheckMemoryLeakClass::getcode(const Token *tok, std::list 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)); }