From: Nicholas Clark Date: Sat, 11 Jun 2005 21:05:29 +0000 (+0000) Subject: This isn't an LVALUE, so make the compiler enforce that. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0a356b31f4fb75a04bcfe2c09a78a66691335d64;p=p5sagit%2Fp5-mst-13.2.git This isn't an LVALUE, so make the compiler enforce that. p4raw-id: //depot/perl@24804 --- diff --git a/sv.h b/sv.h index 01a98be..719dfe2 100644 --- a/sv.h +++ b/sv.h @@ -1350,7 +1350,7 @@ Like C but doesn't process magic. #define SvSHARED_HEK_FROM_PV(pvx) \ ((struct hek*)(pvx - STRUCT_OFFSET(struct hek, hek_key))) -#define SvSHARED_HASH(sv) (SvSHARED_HEK_FROM_PV(SvPVX_const(sv))->hek_hash) +#define SvSHARED_HASH(sv) (0 + SvSHARED_HEK_FROM_PV(SvPVX_const(sv))->hek_hash) /* flag values for sv_*_flags functions */ #define SV_IMMEDIATE_UNREF 1