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>
lilik-openwrt-22.03
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=''
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'


Loading…
Cancel
Save