From: Gurusamy Sarathy Date: Mon, 21 Feb 2000 23:15:12 +0000 (+0000) Subject: type mismatch X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a05b299fc7b2536d7c32061e1a048ddbdd4b4496;p=p5sagit%2Fp5-mst-13.2.git type mismatch p4raw-id: //depot/perl@5187 --- diff --git a/sv.c b/sv.c index f6c0a1e..fb33f38 100644 --- a/sv.c +++ b/sv.c @@ -5754,7 +5754,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV /* what about long double NVs? --jhi */ SV *vecsv; - char *vecstr = Nullch; + U8 *vecstr = Null(U8*); STRLEN veclen = 0; char c; int i; @@ -5819,7 +5819,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV vecsv = va_arg(*args, SV*); else if (svix < svmax) vecsv = svargs[svix++]; - vecstr = SvPVx(vecsv,veclen); + vecstr = (U8*)SvPVx(vecsv,veclen); utf = DO_UTF8(vecsv); continue; @@ -6005,7 +6005,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV if (utf) iv = (IV)utf8_to_uv(vecstr, &ulen); else { - iv = (U8)*vecstr; + iv = *vecstr; ulen = 1; } vecstr += ulen; @@ -6087,7 +6087,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV if (utf) uv = utf8_to_uv(vecstr, &ulen); else { - uv = (U8)*vecstr; + uv = *vecstr; ulen = 1; } vecstr += ulen;