summaryrefslogtreecommitdiff
path: root/cpp/src/slice2freeze/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2freeze/Main.cpp')
-rw-r--r--cpp/src/slice2freeze/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2freeze/Main.cpp b/cpp/src/slice2freeze/Main.cpp
index 1cdfc130779..d5792982af5 100644
--- a/cpp/src/slice2freeze/Main.cpp
+++ b/cpp/src/slice2freeze/Main.cpp
@@ -246,7 +246,7 @@ usage(const char* n)
void
checkIdentifier(string t, string s)
{
- if(s.empty() || (!isalpha(static_cast<unsigned char>(s[0])) && s[0] != '_'))
+ if(s.empty() || (!IceUtilInternal::isAlpha(s[0]) && s[0] != '_'))
{
ostringstream os;
os << t << "' is not a valid type name";