From: Jarkko Hietaniemi Date: Sat, 29 Apr 2006 20:59:29 +0000 (+0300) Subject: signed vs unsigned char * nit X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3b416f4149e31f8665cf9074e631ca0d2529406e;p=p5sagit%2Fp5-mst-13.2.git signed vs unsigned char * nit Message-Id: <200604291759.k3THxTji032009@kosh.hut.fi> p4raw-id: //depot/perl@28042 --- diff --git a/pp.c b/pp.c index 253126d..a04e0d4 100644 --- a/pp.c +++ b/pp.c @@ -3453,7 +3453,7 @@ PP(pp_ucfirst) if (SvOK(source)) { s = (const U8*)SvPV_nomg_const(source, slen); } else { - s = ""; + s = (U8*)""; slen = 0; } @@ -3484,7 +3484,7 @@ PP(pp_ucfirst) dest = TARG; SvUPGRADE(dest, SVt_PV); - d = SvGROW(dest, need); + d = (U8*)SvGROW(dest, need); (void)SvPOK_only(dest); SETs(dest); @@ -3577,13 +3577,13 @@ PP(pp_uc) if (SvOK(source)) { s = (const U8*)SvPV_nomg_const(source, len); } else { - s = ""; + s = (U8*)""; len = 0; } min = len + 1; SvUPGRADE(dest, SVt_PV); - d = SvGROW(dest, min); + d = (U8*)SvGROW(dest, min); (void)SvPOK_only(dest); SETs(dest); @@ -3677,13 +3677,13 @@ PP(pp_lc) if (SvOK(source)) { s = (const U8*)SvPV_nomg_const(source, len); } else { - s = ""; + s = (U8*)""; len = 0; } min = len + 1; SvUPGRADE(dest, SVt_PV); - d = SvGROW(dest, min); + d = (U8*)SvGROW(dest, min); (void)SvPOK_only(dest); SETs(dest);