In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/5703b8ce86fe56bf7576cf157805335b074cc8a4?hp=8c20b11d5137b21b9b47609f4e97e1d5c3d355f1>
- Log ----------------------------------------------------------------- commit 5703b8ce86fe56bf7576cf157805335b074cc8a4 Author: Nicolas R <[email protected]> Date: Wed Nov 29 14:07:15 2017 -0700 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 ----------------------------------------------------------------------- Summary of changes: perl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl.h b/perl.h index 2200a47c05..900452d81d 100644 --- a/perl.h +++ b/perl.h @@ -686,7 +686,7 @@ cewchar.h includes a correct definition of MB_CUR_MAX and it is copied here since cewchar.h can't be included this early */ #if defined(UNDER_CE) && (_MSC_VER < 1300) -# define MB_CUR_MAX 1 +# define MB_CUR_MAX 1uL #endif # include <stdarg.h> -- Perl5 Master Repository
