diff options
author | Nicolas R <atoomic@cpan.org> | 2017-11-29 14:07:15 -0700 |
---|---|---|
committer | Nicolas R <atoomic@cpan.org> | 2017-11-29 14:23:09 -0700 |
commit | 5703b8ce86fe56bf7576cf157805335b074cc8a4 (patch) | |
tree | 3b7cc2afe659b6d5d6e251ec9b2539e75777ec76 /perl.h | |
parent | 8c20b11d5137b21b9b47609f4e97e1d5c3d355f1 (diff) | |
download | perl-5703b8ce86fe56bf7576cf157805335b074cc8a4.tar.gz |
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
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |