diff options
author | Karl Williamson <khw@cpan.org> | 2020-01-03 21:37:08 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-01-03 21:55:15 -0700 |
commit | f46dcac2d383af532d3e8c014488fba83a514309 (patch) | |
tree | e4c0b37fe212585c09df74fcf2a6e37987812421 /utf8.c | |
parent | 1b292063004c9bbdfe307aadd8beb72df25e7c2f (diff) | |
download | perl-f46dcac2d383af532d3e8c014488fba83a514309.tar.gz |
utf8.c: Change parameter types of internal fcns
These generated warnings on certain platform builds, and weren't the
best types for the purpose anyway.
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2716,7 +2716,7 @@ Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *lenp) * Do not use in-place. We optimize for native, for obvious reasons. */ U8* -Perl_utf16_to_utf8(pTHX_ U8* p, U8* d, I32 bytelen, I32 *newlen) +Perl_utf16_to_utf8(pTHX_ U8* p, U8* d, Size_t bytelen, Size_t *newlen) { U8* pend; U8* dstart = d; @@ -2793,7 +2793,7 @@ Perl_utf16_to_utf8(pTHX_ U8* p, U8* d, I32 bytelen, I32 *newlen) /* Note: this one is slightly destructive of the source. */ U8* -Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8* d, I32 bytelen, I32 *newlen) +Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8* d, Size_t bytelen, Size_t *newlen) { U8* s = (U8*)p; U8* const send = s + bytelen; |