diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-24 18:06:56 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-24 18:06:56 -0400 |
commit | 848d30a1e5f75988be4b291a431713e78ae09f79 (patch) | |
tree | 0343d08a9bac723053c110f7a70a4f175796a325 /arch/i386 | |
parent | e4d35ea9cfb612bcfbaf141559d62e1dca9f13c4 (diff) | |
download | musl-848d30a1e5f75988be4b291a431713e78ae09f79.tar.gz musl-848d30a1e5f75988be4b291a431713e78ae09f79.tar.bz2 musl-848d30a1e5f75988be4b291a431713e78ae09f79.tar.xz musl-848d30a1e5f75988be4b291a431713e78ae09f79.zip |
use signed char rather than plain char for int8_t
otherwise this BADLY breaks if -funsigned-char is passed to gcc
Diffstat (limited to 'arch/i386')
-rwxr-xr-x | arch/i386/bits/alltypes.h.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/i386/bits/alltypes.h.sh b/arch/i386/bits/alltypes.h.sh index b1505a11..3735d963 100755 --- a/arch/i386/bits/alltypes.h.sh +++ b/arch/i386/bits/alltypes.h.sh @@ -37,10 +37,10 @@ TYPEDEF long wint_t; TYPEDEF long wctrans_t; TYPEDEF long wctype_t; -TYPEDEF char int8_t; -TYPEDEF short int16_t; -TYPEDEF int int32_t; -TYPEDEF long long int64_t; +TYPEDEF signed char int8_t; +TYPEDEF short int16_t; +TYPEDEF int int32_t; +TYPEDEF long long int64_t; TYPEDEF unsigned char uint8_t; TYPEDEF unsigned short uint16_t; |