diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-29 03:06:30 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-29 03:06:30 +0000 |
commit | 2e4dc9fc3f643d91ce923f3b065a55e7a020e3a4 (patch) | |
tree | 1d9d4d420fecba45f82546d6b6986f20f0405daa /utf8.c | |
parent | 6f149447298e87ab4470e9b05cfcd08d11db1834 (diff) | |
download | perl-2e4dc9fc3f643d91ce923f3b065a55e7a020e3a4.tar.gz |
This should have been part of #7872: no need to scan UTF-8
until eternity.
p4raw-id: //depot/perl@7911
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -350,7 +350,7 @@ returned and retlen is set, if possible, to -1. UV Perl_utf8_to_uv_simple(pTHX_ U8* s, STRLEN* retlen) { - return Perl_utf8_to_uv(aTHX_ s, (STRLEN)-1, retlen, 0); + return Perl_utf8_to_uv(aTHX_ s, UTF8_MAXLEN, retlen, 0); } /* |