This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: Devel::Peek doesn't compile under C++
[perl5.git] / ext / Devel-Peek / Peek.xs
index 027a4e8..28e0e83 100644 (file)
@@ -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;