diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-12-29 12:28:14 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-12-29 12:28:14 +0000 |
commit | 453d94a93e573c5979e959533fb269b76eb66968 (patch) | |
tree | f4ed259c9ac7d70b14de54d73ae0d0d241912aa1 /pp.c | |
parent | a1cf41cd41cfa3d3c737acde06e0d3bbd02dd08d (diff) | |
download | perl-453d94a93e573c5979e959533fb269b76eb66968.tar.gz |
Change Perl_av_iter_p() to return IV* rather than I32* (which means
having to allocate memory where sizeof(IV) > sizeof(I32)).
p4raw-id: //depot/perl@32760
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3929,7 +3929,7 @@ PP(pp_aeach) dSP; AV *array = (AV*)POPs; const I32 gimme = GIMME_V; - I32 *iterp = Perl_av_iter_p(aTHX_ array); + IV *iterp = Perl_av_iter_p(aTHX_ array); const IV current = (*iterp)++; if (current > av_len(array)) { |