From 85064c7906dc9d939d2f4fab29d5aa3020b59538 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 23 Mar 2005 19:21:16 +0000 Subject: [PATCH] 2005-03-23 H.J. Lu * cris-dis.c (print_with_operands): Use ~31L for long instead of ~31. --- opcodes/ChangeLog | 5 +++++ opcodes/cris-dis.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index db375c204b9..38a17eb8fe9 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2005-03-23 H.J. Lu + + * cris-dis.c (print_with_operands): Use ~31L for long instead + of ~31. + 2005-03-20 H.J. Lu * mmix-opc.c (O): Revert the last change. diff --git a/opcodes/cris-dis.c b/opcodes/cris-dis.c index d576c108b40..c9bcec7708b 100644 --- a/opcodes/cris-dis.c +++ b/opcodes/cris-dis.c @@ -1375,7 +1375,7 @@ print_with_operands (opcodep, insn, buffer, addr, info, prefix_opcodep, break; case 'i': - tp = format_dec ((insn & 32) ? (insn & 31) | ~31 : insn & 31, tp, 1); + tp = format_dec ((insn & 32) ? (insn & 31) | ~31L : insn & 31, tp, 1); break; case 'P': -- 2.30.2