summaryrefslogtreecommitdiff
path: root/pad.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-04-06 15:05:32 +0000
committerNicholas Clark <nick@ccl4.org>2005-04-06 15:05:32 +0000
commit8f77bfdb1ccc695676a1e8260398001deb0b18cf (patch)
tree7a990401bd6bdfecf31f0b183c4546c7953f580b /pad.h
parenta221a8a55f0bbb6b52da5c544e7bc886f16754e8 (diff)
downloadperl-8f77bfdb1ccc695676a1e8260398001deb0b18cf.tar.gz
Casting to/from (void *) sufficient to make a C++ compiler happy.
p4raw-id: //depot/perl@24175
Diffstat (limited to 'pad.h')
-rw-r--r--pad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pad.h b/pad.h
index e839042722..daaa50953b 100644
--- a/pad.h
+++ b/pad.h
@@ -256,7 +256,7 @@ Clone the state variables associated with running and compiling pads.
* sub's CV or padlist. */
#define PAD_CLONE_VARS(proto_perl, param) \
- PL_comppad = ptr_table_fetch(PL_ptr_table, proto_perl->Icomppad); \
+ PL_comppad = (AV *) ptr_table_fetch(PL_ptr_table, proto_perl->Icomppad); \
PL_curpad = PL_comppad ? AvARRAY(PL_comppad) : Null(SV**); \
PL_comppad_name = av_dup(proto_perl->Icomppad_name, param); \
PL_comppad_name_fill = proto_perl->Icomppad_name_fill; \