From 1445090f29b99b417a3a9faf265ae294f8330931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 10 Oct 2009 09:16:33 +0200 Subject: [PATCH] Borland C++: Fixed compiler errors --- src/checkbufferoverrun.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/checkbufferoverrun.cpp b/src/checkbufferoverrun.cpp index d334bada3..6dc46a57c 100644 --- a/src/checkbufferoverrun.cpp +++ b/src/checkbufferoverrun.cpp @@ -849,9 +849,9 @@ int CheckBufferOverrun::countSprintfLength(const std::string &input_string, cons digits_string = digits_string.substr(1, digits_string.size()); int tempDigits = 0; if (check_for_i_d_x_f == 1) - tempDigits = std::max(abs(atoi(digits_string.c_str())), 1); + tempDigits = std::max(std::abs(std::atoi(digits_string.c_str())), 1); else - tempDigits = abs(atoi(digits_string.c_str())); + tempDigits = std::abs(std::atoi(digits_string.c_str())); if (tempDigits < parameterLength) digits += parameterLength;