From 07de2f5bc3a42b00812b1e5677548cbd45f6f203 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Thu, 30 Oct 2008 13:58:03 -0230 Subject: Bug 3519 - fix isalpha, isprint, ... usage --- cpp/src/IcePatch2/Calc.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cpp/src/IcePatch2/Calc.cpp') diff --git a/cpp/src/IcePatch2/Calc.cpp b/cpp/src/IcePatch2/Calc.cpp index 9ed422548da..92bd17c9510 100644 --- a/cpp/src/IcePatch2/Calc.cpp +++ b/cpp/src/IcePatch2/Calc.cpp @@ -43,7 +43,7 @@ struct IFileInfoPathEqual: public binary_function(lhs.path[i])) != ::tolower(static_cast(rhs.path[i]))) { return false; } @@ -60,11 +60,12 @@ struct IFileInfoPathLess: public binary_function(lhs.path[i])) < ::tolower(static_cast(rhs.path[i]))) { return true; } - else if(::tolower(lhs.path[i]) > ::tolower(rhs.path[i])) + else if(::tolower(static_cast(lhs.path[i])) > + ::tolower(static_cast(rhs.path[i]))) { return false; } -- cgit v1.2.3