diff options
author | Robin Barker <rmbarker@cpan.org> | 2012-07-11 00:29:56 +0100 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-07-13 09:31:58 -0700 |
commit | 80544570ce886c65d20c02831f86aafecd94c2d9 (patch) | |
tree | ef3b811188db111e7e34e04dccfc71c08192d670 /pp_ctl.c | |
parent | 130e6ef58021f632151b499d74a0da64ceb639f5 (diff) | |
download | perl-80544570ce886c65d20c02831f86aafecd94c2d9.tar.gz |
silence compiler warning - casting void* to IV
This warns when void* and IV have different sizes
There is already a macro to do this conversion cleanly: PTR2IV
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3279,7 +3279,7 @@ Perl_find_runcv_where(pTHX_ U8 cond, void *arg, U32 *db_seqp) if (CvROOT(cv) != (OP *)arg) continue; return cv; case FIND_RUNCV_level_eq: - if (level++ != (IV)arg) continue; + if (level++ != PTR2IV(arg)) continue; /* GERONIMO! */ default: return cv; |