summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-04-29 23:59:29 +0300
committerSteve Peters <steve@fisharerojo.org>2006-05-01 23:30:59 +0000
commit3b416f4149e31f8665cf9074e631ca0d2529406e (patch)
tree01454781197a802472089fcdd0c88e7c8cc84f1d /pp.c
parent74d5ed12f2c8cab97d22a9affcb3e8e87bad2b7b (diff)
downloadperl-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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pp.c b/pp.c
index 253126dab7..a04e0d4756 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);