From: Steve Hay Date: Mon, 27 Feb 2006 17:48:55 +0000 (+0000) Subject: Silence a GCC warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0181a44dee4b04fc7b83c7827c96b5cbcda0b557;p=p5sagit%2Fp5-mst-13.2.git Silence a GCC warning (assignment from incompatible pointer type) p4raw-id: //depot/perl@27348 --- diff --git a/sv.h b/sv.h index fc49f23..50f11e0 100644 --- a/sv.h +++ b/sv.h @@ -214,7 +214,7 @@ perform the upgrade if necessary. See C. ({ \ if (sv) \ (SvREFCNT(sv))++; \ - sv; \ + (SV *)(sv); \ }) # define SvREFCNT_inc_NN(sv) \ ({ \