summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorRobin Barker <rmbarker@cpan.org>2012-07-11 00:29:56 +0100
committerFather Chrysostomos <sprout@cpan.org>2012-07-13 09:31:58 -0700
commit80544570ce886c65d20c02831f86aafecd94c2d9 (patch)
treeef3b811188db111e7e34e04dccfc71c08192d670 /pp_ctl.c
parent130e6ef58021f632151b499d74a0da64ceb639f5 (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 54f17aed2c..826a772938 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -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;