diff options
author | Karl Williamson <khw@cpan.org> | 2019-12-27 22:17:10 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-01-03 21:55:15 -0700 |
commit | 100de20c48e8eb318406f6c2e9d269cd2adfae14 (patch) | |
tree | 13ce2374c8a711f285d4546e61ee87070b0d015b /utf8.c | |
parent | 9fde59141061b7875147a92b1e1dc991756c2e1e (diff) | |
download | perl-100de20c48e8eb318406f6c2e9d269cd2adfae14.tar.gz |
utf8.c: Use casts to silence some warnings
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2013,8 +2013,8 @@ Perl__utf8n_to_uvchr_msgs_helper(const U8 *s, * valid, avoid as much as possible reading past the * end of the buffer */ int printlen = (flags & _UTF8_NO_CONFIDENCE_IN_CURLEN) - ? s - s0 - : send - s0; + ? (int) (s - s0) + : (int) (send - s0); pack_warn = packWARN(WARN_UTF8); message = Perl_form(aTHX_ "%s", unexpected_non_continuation_text(s0, |