diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2006-04-29 23:59:29 +0300 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-05-01 23:30:59 +0000 |
commit | 3b416f4149e31f8665cf9074e631ca0d2529406e (patch) | |
tree | 01454781197a802472089fcdd0c88e7c8cc84f1d /pp.c | |
parent | 74d5ed12f2c8cab97d22a9affcb3e8e87bad2b7b (diff) | |
download | perl-3b416f4149e31f8665cf9074e631ca0d2529406e.tar.gz |
signed vs unsigned char * nit
Message-Id: <200604291759.k3THxTji032009@kosh.hut.fi>
p4raw-id: //depot/perl@28042
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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); |