This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mark MB_CUR_MAX constant as unsigned long
authorNicolas R <atoomic@cpan.org>
Wed, 29 Nov 2017 21:07:15 +0000 (14:07 -0700)
committerNicolas R <atoomic@cpan.org>
Wed, 29 Nov 2017 21:23:09 +0000 (14:23 -0700)
commit5703b8ce86fe56bf7576cf157805335b074cc8a4
tree3b7cc2afe659b6d5d6e251ec9b2539e75777ec76
parent8c20b11d5137b21b9b47609f4e97e1d5c3d355f1
mark MB_CUR_MAX constant as unsigned long

Avoid a warning in locale.c

comparison of integers of different signs: 'int' and 'unsigned long'
is_utf8 = MB_CUR_MAX >= STRLENs(MAX_UNICODE_UTF8);

RT #132516
perl.h