summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-28 19:51:07 +0000
committerNicholas Clark <nick@ccl4.org>2008-10-28 19:51:07 +0000
commitc6903450838086ba02cb3a4b04bd5f6047187b9d (patch)
tree2b601e48da43da42018032829a8b8aa5eb3dac21 /cop.h
parent44591ba566f2923cc6afe9d36f9569f9e44bb376 (diff)
downloadperl-c6903450838086ba02cb3a4b04bd5f6047187b9d.tar.gz
A couple of (COP*)s that can actually be (const COP *)s.
p4raw-id: //depot/perl@34621
Diffstat (limited to 'cop.h')
-rw-r--r--cop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cop.h b/cop.h
index e64bb76fe6..dae356d6a0 100644
--- a/cop.h
+++ b/cop.h
@@ -298,8 +298,8 @@ struct block_format {
#define PUSHSUB_BASE(cx) \
ENTRY_PROBE(GvENAME(CvGV(cv)), \
- CopFILE((COP*)CvSTART(cv)), \
- CopLINE((COP*)CvSTART(cv))); \
+ CopFILE((const COP *)CvSTART(cv)), \
+ CopLINE((const COP *)CvSTART(cv))); \
\
cx->blk_sub.cv = cv; \
cx->blk_sub.olddepth = CvDEPTH(cv); \