summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-11 21:05:29 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-11 21:05:29 +0000
commit0a356b31f4fb75a04bcfe2c09a78a66691335d64 (patch)
treeaad941e9e0bd941311508c7dfece90382669aeed /sv.h
parent97ddebaf393a19fb80bf52b8fdb8330e1c4a591b (diff)
downloadperl-0a356b31f4fb75a04bcfe2c09a78a66691335d64.tar.gz
This isn't an LVALUE, so make the compiler enforce that.
p4raw-id: //depot/perl@24804
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index 01a98be32d..719dfe2556 100644
--- a/sv.h
+++ b/sv.h
@@ -1350,7 +1350,7 @@ Like C<sv_catsv> 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