op.c: Fix mad+POISON build under clang
authorFather Chrysostomos <sprout@cpan.org>
Wed, 14 Nov 2012 00:47:24 +0000 (16:47 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 14 Nov 2012 06:50:01 +0000 (22:50 -0800)
op.c

index d7bf037..b3ac10d 100644 (file)
--- a/op.c
+++ b/op.c
@@ -3798,7 +3798,7 @@ Perl_mad_free(pTHX_ MADPROP* mp)
     case MAD_NULL:
        break;
     case MAD_PV:
-       Safefree((char*)mp->mad_val);
+       Safefree(mp->mad_val);
        break;
     case MAD_OP:
        if (mp->mad_vlen)       /* vlen holds "strong/weak" boolean */