diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Encode/Encode.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Encode/Encode.xs b/ext/Encode/Encode.xs index 72a686ce39..895819bcb7 100644 --- a/ext/Encode/Encode.xs +++ b/ext/Encode/Encode.xs @@ -333,7 +333,7 @@ process_utf8(pTHX_ SV* dst, U8* s, U8* e, int check, ); #if 1 /* perl-5.8.6 and older do not check UTF8_ALLOW_LONG */ if (strict && uv > PERL_UNICODE_MAX) - ulen = -1; + ulen = (STRLEN) -1; #endif if (ulen == -1) { if (strict) { |