Skip to content

Commit

Permalink
fix cop_list warning: initialization from incompatible pointer type
Browse files Browse the repository at this point in the history
git-svn-id: http://perl-compiler.googlecode.com/svn/trunk@35 ed534f1a-1453-0410-ab30-dfc593a8b23c
  • Loading branch information
Reini Urban committed Nov 13, 2009
1 parent 8cdde7c commit 266b043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/B/C.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

package B::C;

our $VERSION = '1.04_21';
our $VERSION = '1.04_22';

package B::C::Section;

Expand Down Expand Up @@ -457,7 +457,7 @@ sub B::OP::save {
my $ix = $copsect->index;
$init->add(sprintf("cop_list[$ix].op_ppaddr = %s;", $op->ppaddr))
unless $optimize_ppaddr;
savesym($op, "&cop_list[$ix]");
savesym($op, "(OP*)&cop_list[$ix]");
} else {
$opsect->comment($opsect_common);
$opsect->add($op->_save_common);
Expand Down

0 comments on commit 266b043

Please sign in to comment.