From 35eebb44e2b4ad864a353b33e6210003e55cf91c Mon Sep 17 00:00:00 2001 From: Nikola Knezevic Date: Tue, 15 Jan 2002 22:23:30 +0100 Subject: [PATCH] No more warnings from Opcode.c Message-ID: <595405346.20020115212330@tesla.rcub.bg.ac.yu> p4raw-id: //depot/perl@14305 --- ext/Opcode/Opcode.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/Opcode/Opcode.xs b/ext/Opcode/Opcode.xs index 8026964..6ad7107 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 */ -- 2.7.4