diff options
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -957,7 +957,7 @@ Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen) { PERL_ARGS_ASSERT_UTF8_TO_UVCHR; - return valid_utf8_to_uvchr(s, retlen); + return utf8_to_uvchr_buf(s, s + UTF8_MAXBYTES, retlen); } /* |