diff options
author | Artur Bergman <sky@nanisky.com> | 2001-09-10 11:17:25 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2001-09-10 11:17:25 +0000 |
commit | ba89bb6e6103c86c9d65d9485052b0ba8db5d064 (patch) | |
tree | fd458cc1b02e25912d416638457673d5b41abaf2 /perl.c | |
parent | b7cb320da5fba9d13ff80cbaf19179dae7debe95 (diff) | |
download | perl-ba89bb6e6103c86c9d65d9485052b0ba8db5d064.tar.gz |
Apply INT2PTR with force to silence warnings from
PM_GETRE and friends. No more warnings with 64bit
IVs and 32bit pointers.
p4raw-id: //depot/perl@11970
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -470,7 +470,7 @@ perl_destruct(pTHXx) while (i) { SV *resv = ary[--i]; - REGEXP *re = (REGEXP *)SvIVX(resv); + REGEXP *re = INT2PTR(REGEXP *,SvIVX(resv)); if (SvFLAGS(resv) & SVf_BREAK) { /* this is PL_reg_curpm, already freed |