Browse Source

perl: Make I8/I16/I32 types explicitly signed for PPC

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>
Marcel Denia 10 years ago
parent
commit
4456537077
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      lang/perl/files/config.sh-powerpc.in

+ 4
- 4
lang/perl/files/config.sh-powerpc.in View File

@@ -600,13 +600,13 @@ html1direxp=''
600 600
 html3dir=' '
601 601
 html3direxp=''
602 602
 i16size='2'
603
-i16type='short'
603
+i16type='signed short'
604 604
 i32size='4'
605
-i32type='long'
605
+i32type='signed long'
606 606
 i64size='8'
607
-i64type='long long'
607
+i64type='signed long long'
608 608
 i8size='1'
609
-i8type='char'
609
+i8type='signed char'
610 610
 i_arpainet='define'
611 611
 i_bsdioctl=''
612 612
 i_crypt='define'