summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-03-08 16:31:36 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-03-08 16:31:36 +0000
commit402f05396fc9e5d62b55e9f7c6be16855f366449 (patch)
tree9caf217b61f53dd7860de0dcf3c978e949f69c82 /hv.h
parentb979de87f60b43f7673e6a7e8947db2dc281aed0 (diff)
downloadperl-402f05396fc9e5d62b55e9f7c6be16855f366449.tar.gz
The HePV macro was borked.
p4raw-id: //depot/perl@30520
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.h b/hv.h
index 2e1a506c8f..6e19c84213 100644
--- a/hv.h
+++ b/hv.h
@@ -303,7 +303,7 @@ C<SV*>.
#define HeHASH(he) HEK_HASH(HeKEY_hek(he))
#define HePV(he,lp) ((HeKLEN(he) == HEf_SVKEY) ? \
SvPV(HeKEY_sv(he),lp) : \
- ((lp = HeKLEN(he)) >= 0)) \
+ ((lp = HeKLEN(he)), HeKEY(he)))
#define HeSVKEY(he) ((HeKEY(he) && \
HeKLEN(he) == HEf_SVKEY) ? \