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/Slice/DotNetNames.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/Slice/DotNetNames.cpp') diff --git a/cpp/src/Slice/DotNetNames.cpp b/cpp/src/Slice/DotNetNames.cpp index cd3b3187f47..6e1be365a3b 100644 --- a/cpp/src/Slice/DotNetNames.cpp +++ b/cpp/src/Slice/DotNetNames.cpp @@ -84,7 +84,7 @@ ciEquals(const string& s, const char* p) string::const_iterator i = s.begin(); while(i != s.end()) { - if(tolower(*i++) != tolower(*p++)) + if(tolower(static_cast(*i++)) != tolower(static_cast(*p++))) { return false; } -- cgit v1.2.3