summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-12-24 18:06:03 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-12-24 18:06:03 -0800
commitd49cfb746d789072c374f2403d477feb8017ce89 (patch)
treed60206c5ce9c22d47fbe685a684335617e4d839b /sv.c
parentef0d863ca4daa8af4b77dda85dcf6df8910149b7 (diff)
downloadperl-d49cfb746d789072c374f2403d477feb8017ce89.tar.gz
sv.c: Add cast to make C++ happy
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 2bbd55b048..0221628805 100644
--- a/sv.c
+++ b/sv.c
@@ -5959,7 +5959,7 @@ Perl_sv_get_backrefs(pTHX_ SV *const sv)
if (SvTYPE(sv) == SVt_PVHV) {
if (SvOOK(sv))
- svp = (SV**)Perl_hv_backreferences_p(aTHX_ sv);
+ svp = (SV**)Perl_hv_backreferences_p(aTHX_ (HV *)sv);
} else {
if (SvMAGICAL(sv))
mg = mg_find(sv, PERL_MAGIC_backref);