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/arm/bits | |
parent | e4d35ea9cfb612bcfbaf141559d62e1dca9f13c4 (diff) | |
download | musl-848d30a1e5f75988be4b291a431713e78ae09f79.tar.gz 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/arm/bits')
-rwxr-xr-x | arch/arm/bits/alltypes.h.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/bits/alltypes.h.sh b/arch/arm/bits/alltypes.h.sh index ddc5c06f..4ba3d81c 100755 --- a/arch/arm/bits/alltypes.h.sh +++ b/arch/arm/bits/alltypes.h.sh @@ -29,10 +29,10 @@ TYPEDEF int 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; |