aboutsummaryrefslogtreecommitdiff
path: root/opcodes/cris-dis.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-03-23 19:21:16 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-03-23 19:21:16 +0000
commit85064c7906dc9d939d2f4fab29d5aa3020b59538 (patch)
tree5f90806325cbaf0f280e2797184ca2da894e0260 /opcodes/cris-dis.c
parentb3041f52a52b5576a8f86c75466e75316841f92a (diff)
downloadgdb-85064c7906dc9d939d2f4fab29d5aa3020b59538.zip
gdb-85064c7906dc9d939d2f4fab29d5aa3020b59538.tar.gz
gdb-85064c7906dc9d939d2f4fab29d5aa3020b59538.tar.bz2
2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
* cris-dis.c (print_with_operands): Use ~31L for long instead of ~31.
Diffstat (limited to 'opcodes/cris-dis.c')
-rw-r--r--opcodes/cris-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/cris-dis.c b/opcodes/cris-dis.c
index d576c10..c9bcec7 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':