summaryrefslogtreecommitdiff
path: root/arch/arm/bits
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-07-22 13:05:41 -0400
committerRich Felker <dalias@aerifal.cx>2013-07-22 13:05:41 -0400
commitc4dd0c98bae8e3583f68ba5b30db491055ab2322 (patch)
tree7b64cb99e6bc4cc9faff8207d8f78a5e72fb58d2 /arch/arm/bits
parent9448b0513e2eec020fbca9c10412b83df5027a16 (diff)
downloadmusl-c4dd0c98bae8e3583f68ba5b30db491055ab2322.tar.gz
change wint_t to unsigned
aside from the obvious C++ ABI purpose for this change, it also brings musl into alignment with the compiler's idea of the definition of wint_t (use in -Wformat), and makes the situation less awkward on ARM, where wchar_t is unsigned. internal code using wint_t and WEOF was checked against this change, and while a few cases of storing WEOF into wchar_t were found, they all seem to operate properly with the natural conversion from unsigned to signed.
Diffstat (limited to 'arch/arm/bits')
-rw-r--r--arch/arm/bits/alltypes.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/bits/alltypes.h.in b/arch/arm/bits/alltypes.h.in
index c3228b55..764a2469 100644
--- a/arch/arm/bits/alltypes.h.in
+++ b/arch/arm/bits/alltypes.h.in
@@ -7,7 +7,7 @@ TYPEDEF __builtin_va_list __isoc_va_list;
#ifndef __cplusplus
TYPEDEF unsigned wchar_t;
#endif
-TYPEDEF int wint_t;
+TYPEDEF unsigned wint_t;
TYPEDEF float float_t;
TYPEDEF double double_t;