summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-07-24 07:16:53 -0600
committerKarl Williamson <khw@cpan.org>2021-07-30 06:11:45 -0600
commitfb1a3d54eecea658ab547fc242fd442e4155729a (patch)
treee5ff32795f45a7f4cf5b35195ea71387dc498c27 /cop.h
parent0132fc5656244fb12418303024312482d47ea4f0 (diff)
downloadperl-fb1a3d54eecea658ab547fc242fd442e4155729a.tar.gz
CxLVAL(): Save a '&' instr by casting to U8
Diffstat (limited to 'cop.h')
-rw-r--r--cop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cop.h b/cop.h
index 33463a0ab2..fd0e12a84a 100644
--- a/cop.h
+++ b/cop.h
@@ -885,7 +885,7 @@ struct block_loop {
* Note the contrast with CvLVALUE(), which is a property of the sub
* rather than the call site.
*/
-#define CxLVAL(c) (0 + ((c)->blk_u16 & 0xff))
+#define CxLVAL(c) (0 + ((U8)((c)->blk_u16)))