summaryrefslogtreecommitdiff
path: root/ext/Opcode
diff options
context:
space:
mode:
authorNikola Knezevic <indy@tesla.rcub.bg.ac.yu>2002-01-15 22:23:30 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-17 13:32:56 +0000
commit35eebb44e2b4ad864a353b33e6210003e55cf91c (patch)
tree952c8131fe49b51c69804ac4527ea5fe7b3e548c /ext/Opcode
parentdcd1d1bf48d55e55c493414d8a36c4c436f10504 (diff)
downloadperl-35eebb44e2b4ad864a353b33e6210003e55cf91c.tar.gz
No more warnings from Opcode.c
Message-ID: <595405346.20020115212330@tesla.rcub.bg.ac.yu> p4raw-id: //depot/perl@14305
Diffstat (limited to 'ext/Opcode')
-rw-r--r--ext/Opcode/Opcode.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Opcode/Opcode.xs b/ext/Opcode/Opcode.xs
index 8026964cd7..6ad7107966 100644
--- a/ext/Opcode/Opcode.xs
+++ b/ext/Opcode/Opcode.xs
@@ -62,7 +62,7 @@ op_names_init(pTHX)
bitmap = SvPV(opset_all, len);
i = len-1; /* deal with last byte specially, see below */
while(i-- > 0)
- bitmap[i] = 0xFF;
+ bitmap[i] = (char)0xFF;
/* Take care to set the right number of bits in the last byte */
bitmap[len-1] = (PL_maxo & 0x07) ? ~(0xFF << (PL_maxo & 0x07)) : 0xFF;
put_op_bitspec(aTHX_ ":all",0, opset_all); /* don't mortalise */