summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2007-01-01 21:16:13 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-01-04 15:29:02 +0000
commit6c9570dc5de7137a22f5d4e76431529d4f7342b7 (patch)
treece00721c47e0777bbbd4109f6af44ee1eca06fd2 /mg.c
parent17dd9954ac1485d9f7bfd39f371dd627e20503a9 (diff)
downloadperl-6c9570dc5de7137a22f5d4e76431529d4f7342b7.tar.gz
The first three patches from:
Subject: [PATCH] Cleanup SVf arguments (2nd try) Message-ID: <20070101201613.4120d9ef@r2d2> Adds (void*) casts to %-p and %p printf arguments p4raw-id: //depot/perl@29686
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index c055b9a91a..918510f9c5 100644
--- a/mg.c
+++ b/mg.c
@@ -2039,7 +2039,7 @@ Perl_vivify_defelem(pTHX_ SV *sv)
if (he)
value = HeVAL(he);
if (!value || value == &PL_sv_undef)
- Perl_croak(aTHX_ PL_no_helem_sv, mg->mg_obj);
+ Perl_croak(aTHX_ PL_no_helem_sv, (void*)mg->mg_obj);
}
else {
AV* const av = (AV*)LvTARG(sv);