summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-06-05 12:24:39 -0600
committerKarl Williamson <khw@cpan.org>2017-06-08 11:04:43 -0600
commit2a67563b073377398a953d7df7d276295521bfa6 (patch)
tree620e352f778fd0c0babcc2658093d740a7044d5c /utf8.c
parent2a794dcfb0cb865c8a1f250b7019bc99bfeb5bb2 (diff)
downloadperl-2a67563b073377398a953d7df7d276295521bfa6.tar.gz
utf8.c: A byte count should be Size_t, not I32
(or STRLEN. I thought we were converting to Size_t, so that's what I chose here.)
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 39df019769..3ded4a6c9f 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1981,7 +1981,7 @@ Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8)
U8 *d;
const U8 *start = s;
const U8 *send;
- I32 count = 0;
+ Size_t count = 0;
PERL_ARGS_ASSERT_BYTES_FROM_UTF8;
PERL_UNUSED_CONTEXT;