summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)))