summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2013-11-19 19:16:03 +0000
committerMarshall Clow <mclow.lists@gmail.com>2013-11-19 19:16:03 +0000
commit028875aa7c9fe8b56e7690b986762728f599b37c (patch)
tree34ff32ea87215b3c6b94b1e2cbe2b2fbb36ba8ca /libcxx/src
parenteed0bdee598d6a38fa600bdffef2dcc199046941 (diff)
downloadbcm5719-llvm-028875aa7c9fe8b56e7690b986762728f599b37c.tar.gz
bcm5719-llvm-028875aa7c9fe8b56e7690b986762728f599b37c.zip
Patch by Xing Xue to improve libc++ support for AIX
llvm-svn: 195144
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/locale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp
index a326323ac1e..8e7fdb43189 100644
--- a/libcxx/src/locale.cpp
+++ b/libcxx/src/locale.cpp
@@ -1036,7 +1036,7 @@ ctype<char>::classic_table() _NOEXCEPT
#elif defined(__EMSCRIPTEN__)
return *__ctype_b_loc();
#elif defined(_AIX)
- return (const unsigned long *)__lc_ctype_ptr->obj->mask;
+ return (const unsigned int *)__lc_ctype_ptr->obj->mask;
#else
// Platform not supported: abort so the person doing the port knows what to
// fix
OpenPOWER on IntegriCloud