summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2014-12-02 10:28:08 +1100
committerTony Cook <tony@develop-help.com>2014-12-02 10:28:08 +1100
commita4c678398533b657275ce51755ac2edd70958800 (patch)
treefb91b72df51378d4c042b0ef9e15cf31752a0a62
parent8fbd1c2c3d469d715d854ea1a69c582c21187f1f (diff)
downloadperl-a4c678398533b657275ce51755ac2edd70958800.tar.gz
fix g++ builds: conversions from void * need a cast
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index d1a01c56f2..04b8fa8213 100644
--- a/sv.c
+++ b/sv.c
@@ -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++;