diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-19 17:57:39 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-19 17:57:39 +0000 |
commit | ce32ed4b46e58900e04971fb3189c48cd1fadbd1 (patch) | |
tree | 475dbdca6ff968128364e10c5aa45a2f8c1ef948 /sv.c | |
parent | e902a9797e486747cb6f7d090925b6ed8d7801d8 (diff) | |
download | perl-ce32ed4b46e58900e04971fb3189c48cd1fadbd1.tar.gz |
char vs U8 warnings
p4raw-id: //depot/perl@5155
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2327,7 +2327,7 @@ Perl_sv_utf8_downgrade(pTHX_ register SV* sv, bool fail_ok) while (c < SvEND(sv)) { if (*c & 0x80) { I32 len; - UV uv = utf8_to_uv(c, &len); + UV uv = utf8_to_uv((U8*)c, &len); if (uv >= 256) { if (fail_ok) return FALSE; @@ -2351,7 +2351,7 @@ Perl_sv_utf8_downgrade(pTHX_ register SV* sv, bool fail_ok) while (src < SvEND(sv)) { if (*src & 0x80) { I32 len; - U8 u = (U8)utf8_to_uv(src, &len); + U8 u = (U8)utf8_to_uv((U8*)src, &len); *dst++ = u; src += len; } |