diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-04-06 15:05:32 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-04-06 15:05:32 +0000 |
commit | 8f77bfdb1ccc695676a1e8260398001deb0b18cf (patch) | |
tree | 7a990401bd6bdfecf31f0b183c4546c7953f580b /pad.h | |
parent | a221a8a55f0bbb6b52da5c544e7bc886f16754e8 (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; \ |