This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.h: Use unsigned 1 in left shift
authorKarl Williamson <khw@cpan.org>
Thu, 28 Aug 2014 20:36:15 +0000 (14:36 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 3 Sep 2014 18:43:15 +0000 (12:43 -0600)
commitbc51fd7848385e58210a13810ef5ac6f01f70afb
treefa510941b3e658e01c2e1299c17831e44be0df93
parent6f16c8da34619f286a6f24a2d6286f398d3b4503
regcomp.h: Use unsigned 1 in left shift

This prevents a signed result if this macro ever gets used in a U8.
The ANYOF_BITMAP_TEST macro must now be cast or it would generate warnings
when compiled with -DPERL_BOOL_AS_CHAR
regcomp.h