summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-08-22 14:50:43 -0600
committerFather Chrysostomos <sprout@cpan.org>2012-08-22 15:57:42 -0700
commit9dbc96cb5bce40f7c50cd0c8b770a804cca113ed (patch)
tree5858de27abc53c70f83b6ab1fb86afe8b3e2ce7d /ext
parentdb4442662555874019f183661252bccd4e4ed138 (diff)
downloadperl-9dbc96cb5bce40f7c50cd0c8b770a804cca113ed.tar.gz
PATCH: Devel::Peek doesn't compile under C++
Commit c9795579db61c900bacee2790bdceb7bad3dd45d introduced an error in C++: it's missing a cast.
Diffstat (limited to 'ext')
-rw-r--r--ext/Devel-Peek/Peek.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Devel-Peek/Peek.xs b/ext/Devel-Peek/Peek.xs
index 027a4e837f..28e0e83c56 100644
--- a/ext/Devel-Peek/Peek.xs
+++ b/ext/Devel-Peek/Peek.xs
@@ -54,7 +54,7 @@ DeadCode(pTHX)
PerlIO_printf(Perl_debug_log, " busy\n");
continue;
}
- svp = PADLIST_ARRAY(padlist);
+ svp = (SV**) PADLIST_ARRAY(padlist);
while (++i <= PADLIST_MAX(padlist)) { /* Depth. */
SV **args;