aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-05-13 13:11:27 +0100
committerCalin Juravle <calin@google.com>2014-05-13 13:11:27 +0100
commitb55f2631dc89a386b3f6bd9ce6911c4c12e121b2 (patch)
tree61ce78af423fbf117b7f52a321fc452f828028e4
parent0c472479a2b34f67b606e6419c506ddfdcf1a403 (diff)
downloadandroid_bionic-b55f2631dc89a386b3f6bd9ce6911c4c12e121b2.tar.gz
android_bionic-b55f2631dc89a386b3f6bd9ce6911c4c12e121b2.tar.bz2
android_bionic-b55f2631dc89a386b3f6bd9ce6911c4c12e121b2.zip
Change wctype_t from int to long.
On LP64 this brings us on par with the other libcs where wctype_t is 8 bytes. Bug: 12875898 Change-Id: Ice4f538ccf0634ef6667a8d90d0f7f09cec9e1b0
-rw-r--r--libc/include/wchar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/wchar.h b/libc/include/wchar.h
index 5ef1cf104..af7593f06 100644
--- a/libc/include/wchar.h
+++ b/libc/include/wchar.h
@@ -64,7 +64,7 @@ enum {
WC_TYPE_MAX
};
-typedef int wctype_t;
+typedef long wctype_t;
#define WEOF ((wint_t)(-1))