about summary refs log tree commit diff
path: root/arch/arm
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-24 18:06:56 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-24 18:06:56 -0400
commit848d30a1e5f75988be4b291a431713e78ae09f79 (patch)
tree0343d08a9bac723053c110f7a70a4f175796a325 /arch/arm
parente4d35ea9cfb612bcfbaf141559d62e1dca9f13c4 (diff)
downloadmusl-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')
-rwxr-xr-xarch/arm/bits/alltypes.h.sh8
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;