summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-05-13 01:17:42 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-05-13 01:17:42 +0000
commit035e2bcc0535c60f40214acc38bb076a74774dd2 (patch)
treea8e128d6e039aff16ac47b17ba197c25598b89cd /toke.c
parentdde833314f5826ee54c52d1baaca343300ee23fd (diff)
downloadperl-035e2bcc0535c60f40214acc38bb076a74774dd2.tar.gz
fix some (mostly MAD) compiler warnings
p4raw-id: //depot/perl@31209
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 46862bf53a..6819a8e7e0 100644
--- a/toke.c
+++ b/toke.c
@@ -1279,7 +1279,7 @@ S_curmad(pTHX_ char slot, SV *sv)
/* keep a slot open for the head of the list? */
if (slot != '_' && *where && (*where)->mad_key == '^') {
(*where)->mad_key = slot;
- sv_free((*where)->mad_val);
+ sv_free((SV*)((*where)->mad_val));
(*where)->mad_val = (void*)sv;
}
else