summaryrefslogtreecommitdiff
path: root/opcodes/or32-opc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-07-30 04:34:58 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-07-30 04:34:58 +0000
commit2992fc038ac25897a1324145ed146d18e83d92be (patch)
treea401676b306b6dc9984d82ea9219b4d822e4cf59 /opcodes/or32-opc.c
parent1af22fcd336623a00a96c8e47db78ca5192af449 (diff)
downloadbinutils-redhat-2992fc038ac25897a1324145ed146d18e83d92be.tar.gz
Silence gcc printf warnings
Diffstat (limited to 'opcodes/or32-opc.c')
-rw-r--r--opcodes/or32-opc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/or32-opc.c b/opcodes/or32-opc.c
index e52dbd671c..aa94c1365c 100644
--- a/opcodes/or32-opc.c
+++ b/opcodes/or32-opc.c
@@ -1,5 +1,5 @@
/* Table of opcodes for the OpenRISC 1000 ISA.
- Copyright 2002, 2004, 2005, 2007 Free Software Foundation, Inc.
+ Copyright 2002, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
Contributed by Damjan Lampret (lampret@opencores.org).
This file is part of the GNU opcodes library.
@@ -586,7 +586,8 @@ cover_insn (unsigned long * cur, int pass, unsigned int mask)
c = cover_insn (cur, curpass, mask & (~(cur_mask << best_first)));
if (c)
{
- debug (8, "%li> #%X -> %lu\n", (long)(next - automata), i, (long)(cur - automata));
+ debug (8, "%li> #%X -> %lu\n", (long)(next - automata), i,
+ (unsigned long)(cur - automata));
*next = cur - automata;
cur = c;
}