summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2006-01-09 17:42:43 -0600
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-01-10 10:51:16 +0000
commit6136c704e4e88f5381eda30a0d872d75aa9b9d11 (patch)
treed55b3c3db1fb6e481c40ca5c792663ec29bd75e7 /av.c
parentb77de8c7a7a97830b8f0702cd830d615db2a1523 (diff)
downloadperl-6136c704e4e88f5381eda30a0d872d75aa9b9d11.tar.gz
It's the Barbie bus patch
Message-ID: <20060110054243.GA26165@petdance.com> p4raw-id: //depot/perl@26764
Diffstat (limited to 'av.c')
-rw-r--r--av.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/av.c b/av.c
index 42e1887a31..19aeffbd30 100644
--- a/av.c
+++ b/av.c
@@ -367,7 +367,7 @@ Perl_newAV(pTHX)
sv_upgrade((SV *)av, SVt_PVAV);
/* sv_upgrade does AvREAL_only() */
AvALLOC(av) = 0;
- SvPV_set(av, (char*)0);
+ SvPV_set(av, NULL);
AvMAX(av) = AvFILLp(av) = -1;
return av;
}
@@ -482,7 +482,7 @@ Perl_av_undef(pTHX_ register AV *av)
}
Safefree(AvALLOC(av));
AvALLOC(av) = 0;
- SvPV_set(av, (char*)0);
+ SvPV_set(av, NULL);
AvMAX(av) = AvFILLp(av) = -1;
}