diff options
author | Tony Cook <tony@develop-help.com> | 2014-12-02 10:28:08 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-12-02 10:28:08 +1100 |
commit | a4c678398533b657275ce51755ac2edd70958800 (patch) | |
tree | fb91b72df51378d4c042b0ef9e15cf31752a0a62 | |
parent | 8fbd1c2c3d469d715d854ea1a69c582c21187f1f (diff) | |
download | perl-a4c678398533b657275ce51755ac2edd70958800.tar.gz |
fix g++ builds: conversions from void * need a cast
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14208,7 +14208,7 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS* param) TOPPTR(nss,ix) = parser_dup((const yy_parser*)ptr, param); break; case SAVEt_GP_ALIASED_SV: { - GP * gp_ptr = POPPTR(ss,ix); + GP * gp_ptr = (GP *)POPPTR(ss,ix); GP * new_gp_ptr = gp_dup(gp_ptr, param); TOPPTR(nss,ix) = new_gp_ptr; new_gp_ptr->gp_refcnt++; |