diff options
Diffstat (limited to 'opcodes/mmix-opc.c')
-rw-r--r-- | opcodes/mmix-opc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/mmix-opc.c b/opcodes/mmix-opc.c index 8d553e2..0298818 100644 --- a/opcodes/mmix-opc.c +++ b/opcodes/mmix-opc.c @@ -67,11 +67,11 @@ const struct mmix_spec_reg mmix_spec_regs[] = /* All bits in the opcode-byte are significant. Add "| ..." expressions to add zero-bits. */ #undef O -#define O(m) ((m) << 24), ((~(m) & 255) << 24) +#define O(m) ((unsigned long) (m) << 24UL), ((~(unsigned long) (m) & 255) << 24) /* Bits 7..1 of the opcode are significant. */ #undef Z -#define Z(m) ((m) << 24), ((~(m) & 254) << 24) +#define Z(m) ((unsigned long) (m) << 24), ((~(unsigned long) (m) & 254) << 24) /* For easier overview of the table. */ #define N mmix_type_normal |