summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-04-07 17:50:31 +0000
committerNicholas Clark <nick@ccl4.org>2008-04-07 17:50:31 +0000
commit223bd1548503f5005ef05c6ae2e9403eb7eb9326 (patch)
tree703ff8ee260cd2d56ffbfc35de1fba96e3326f15 /hv.c
parentd5b8ed548f9015c1729a434d337defc04597fb54 (diff)
downloadperl-223bd1548503f5005ef05c6ae2e9403eb7eb9326.tar.gz
So why didn't the build break for me? Fix problems spotted by Jerry
Hedden. p4raw-id: //depot/perl@33659
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hv.c b/hv.c
index 6b54681af3..6d33966577 100644
--- a/hv.c
+++ b/hv.c
@@ -2825,9 +2825,9 @@ S_refcounted_he_new_common(pTHX_ struct refcounted_he *const parent,
Copy((char *)value, he->refcounted_he_data + 1, value_len + 1, char);
he->refcounted_he_val.refcounted_he_u_len = value_len;
} else if (value_type == HVrhek_IV) {
- he->refcounted_he_val.refcounted_he_u_iv = SvIVX(value);
+ he->refcounted_he_val.refcounted_he_u_iv = SvIVX((SV *)value);
} else if (value_type == HVrhek_UV) {
- he->refcounted_he_val.refcounted_he_u_uv = SvUVX(value);
+ he->refcounted_he_val.refcounted_he_u_uv = SvUVX((SV *)value);
}
PERL_HASH(hash, key_p, key_len);