perl: Make I8/I16/I32 types explicitly signed for PPC
authorMarcel Denia <naoir@gmx.net>
Sat, 11 Oct 2014 14:53:38 +0000 (16:53 +0200)
committerMarcel Denia <naoir@gmx.net>
Thu, 16 Oct 2014 09:12:44 +0000 (11:12 +0200)
Type signedness is undefined for char. char may actually be unsigned for
some CPUs.
This fixes various bugs on PPC, like negative array indices.

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl/files/config.sh-powerpc.in

index 39b595516a94aa5ff8b18aee33eab5f9f71f2ef1..ec935dd7c124ea04852ad3068608bf7f0e57ed8e 100644 (file)
@@ -600,13 +600,13 @@ html1direxp=''
 html3dir=' '
 html3direxp=''
 i16size='2'
-i16type='short'
+i16type='signed short'
 i32size='4'
-i32type='long'
+i32type='signed long'
 i64size='8'
-i64type='long long'
+i64type='signed long long'
 i8size='1'
-i8type='char'
+i8type='signed char'
 i_arpainet='define'
 i_bsdioctl=''
 i_crypt='define'