This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.h: Add some casts in macros, for safety
authorKarl Williamson <khw@cpan.org>
Tue, 10 Nov 2015 00:29:05 +0000 (17:29 -0700)
committerKarl Williamson <khw@cpan.org>
Sun, 6 Dec 2015 05:33:40 +0000 (22:33 -0700)
commit646d1759be794fc27ea2be7a051b20a1d6cab7ca
treedf2dc3d11d303d2e296edc0d94f846eb0fba50b4
parentccb204561c91e028cb117afc066e84609965cc6a
utf8.h: Add some casts in macros, for safety

This also renames the macro formal parameter to uv to be clearer as to
what is expected as input, and there were cases where it was referred to
inside the macro without being parenthesized, which was dangerous.
utf8.h