lang/perl: Make I8/I16/I32 types explicitly signed for ARM
Type signedness is undefined for char. char may actually be unsigned for some CPUs. This fixes various bugs on ARM, for example negative array indices. Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
parent
e04bd7368a
commit
a1993737aa
2 changed files with 8 additions and 8 deletions
|
@ -601,13 +601,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'
|
||||
|
|
|
@ -601,13 +601,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…
Reference in a new issue