aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config/os/aix/bits/ctype_noninline.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/config/os/aix/bits/ctype_noninline.h')
-rw-r--r--libstdc++-v3/config/os/aix/bits/ctype_noninline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/config/os/aix/bits/ctype_noninline.h b/libstdc++-v3/config/os/aix/bits/ctype_noninline.h
index 5dff2d1a84d..f0bb31b121d 100644
--- a/libstdc++-v3/config/os/aix/bits/ctype_noninline.h
+++ b/libstdc++-v3/config/os/aix/bits/ctype_noninline.h
@@ -52,7 +52,7 @@
char
ctype<char>::do_toupper(char __c) const
- { return _toupper(__c); }
+ { return ::toupper((int) __c); }
const char*
ctype<char>::do_toupper(char* __low, const char* __high) const
@@ -67,7 +67,7 @@
char
ctype<char>::do_tolower(char __c) const
- { return _tolower(__c); }
+ { return ::tolower((int) __c); }
const char*
ctype<char>::do_tolower(char* __low, const char* __high) const