about summary refs log tree commit diff
path: root/arch/x86_64/bits
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/x86_64/bits
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/x86_64/bits')
-rwxr-xr-xarch/x86_64/bits/alltypes.h.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86_64/bits/alltypes.h.sh b/arch/x86_64/bits/alltypes.h.sh
index 929a0f67..e19a4700 100755
--- a/arch/x86_64/bits/alltypes.h.sh
+++ b/arch/x86_64/bits/alltypes.h.sh
@@ -28,10 +28,10 @@ TYPEDEF int wint_t;
 TYPEDEF int wctrans_t;
 TYPEDEF int wctype_t;
 
-TYPEDEF char      int8_t;
-TYPEDEF short     int16_t;
-TYPEDEF int       int32_t;
-TYPEDEF long      int64_t;
+TYPEDEF signed char int8_t;
+TYPEDEF short       int16_t;
+TYPEDEF int         int32_t;
+TYPEDEF long        int64_t;
 
 TYPEDEF unsigned char      uint8_t;
 TYPEDEF unsigned short     uint16_t;