This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8::unicode_to_native() should return UV, not an IV
authorKarl Williamson <khw@cpan.org>
Tue, 1 Sep 2015 04:30:11 +0000 (22:30 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 3 Sep 2015 00:23:39 +0000 (18:23 -0600)
commitb5804ad61d2f8076a2596d0fbc58e267d1e5e072
treee7b11c638df35ea0538f96b5ff5e2814d720372c
parent9ae0115f0b854d654461d3c5bbcaa938516d0f4e
utf8::unicode_to_native() should return UV, not an IV

Same for the native_to_unicode()

While it is true that UTF-EBCDIC is limited to a a code point of a
maximum of 2**31 - 1, in order for the correct code to execute to catch
an attempt at a larger one, it needs to be a UV.
universal.c