diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-12-24 18:06:03 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-12-24 18:06:03 -0800 |
commit | d49cfb746d789072c374f2403d477feb8017ce89 (patch) | |
tree | d60206c5ce9c22d47fbe685a684335617e4d839b /sv.c | |
parent | ef0d863ca4daa8af4b77dda85dcf6df8910149b7 (diff) | |
download | perl-d49cfb746d789072c374f2403d477feb8017ce89.tar.gz |
sv.c: Add cast to make C++ happy
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |