More signed overflow fixes
[deliverable/binutils-gdb.git] / opcodes / alpha-opc.c
index 02b92235860d682571f85674d01b83dd140f986e..94a023cdfe86522e76e7d31dd5b76d1753558204 100644 (file)
@@ -332,7 +332,7 @@ const unsigned alpha_num_operands = sizeof(alpha_operands)/sizeof(*alpha_operand
 /* Macros used to form opcodes.  */
 
 /* The main opcode.  */
-#define OP(x)          (((x) & 0x3F) << 26)
+#define OP(x)          (((x) & 0x3Fu) << 26)
 #define OP_MASK                0xFC000000
 
 /* Branch format instructions.  */
This page took 0.023465 seconds and 4 git commands to generate.