Silence another ITHREAD 64bit INT/32bit PTR warning.
Artur Bergman [Mon, 10 Sep 2001 11:21:50 +0000 (11:21 +0000)]
p4raw-id: //depot/perl@11971

cop.h

diff --git a/cop.h b/cop.h
index 1e0e5d8..9f17b2c 100644 (file)
--- a/cop.h
+++ b/cop.h
@@ -202,7 +202,7 @@ struct block_loop {
 #  define CxITERVAR(c)                                                 \
        ((c)->blk_loop.iterdata                                         \
         ? (CxPADLOOP(cx)                                               \
-           ? &((c)->blk_loop.oldcurpad)[(PADOFFSET)(c)->blk_loop.iterdata]     \
+           ? &((c)->blk_loop.oldcurpad)[INT2PTR(PADOFFSET, (c)->blk_loop.iterdata)] \
            : &GvSV((GV*)(c)->blk_loop.iterdata))                       \
         : (SV**)NULL)
 #  define CX_ITERDATA_SET(cx,idata)                                    \