diff options
author | Nick Clifton <nickc@redhat.com> | 2001-09-19 17:40:28 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-09-19 17:40:28 +0000 |
commit | e8f643cf343106109cab2466846c88650514db88 (patch) | |
tree | 128a37180bb1f0fb3449f4612eb41908195e9944 /opcodes/d10v-dis.c | |
parent | c0304a2d03f302108fa9237164a3bddd9df1fafc (diff) | |
download | gdb-e8f643cf343106109cab2466846c88650514db88.tar.gz |
Fix compile time warning messages
Diffstat (limited to 'opcodes/d10v-dis.c')
-rw-r--r-- | opcodes/d10v-dis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/d10v-dis.c b/opcodes/d10v-dis.c index 29996ad2959..d337a6b4525 100644 --- a/opcodes/d10v-dis.c +++ b/opcodes/d10v-dis.c @@ -202,7 +202,7 @@ dis_long (insn, memaddr, info) while (op->name) { - if ((op->format & LONG_OPCODE) && ((op->mask & insn) == op->opcode)) + if ((op->format & LONG_OPCODE) && ((op->mask & insn) == (unsigned long) op->opcode)) { match = 1; (*info->fprintf_func) (info->stream, "%s\t", op->name); @@ -253,7 +253,7 @@ dis_2_short (insn, memaddr, info, order) while (op->name) { if ((op->format & SHORT_OPCODE) - && ((op->mask & ins[j]) == op->opcode)) + && ((op->mask & ins[j]) == (unsigned long) op->opcode)) { (*info->fprintf_func) (info->stream, "%s\t", op->name); for (i = 0; op->operands[i]; i++) |