diff options
author | Alan Modra <amodra@bigpond.net.au> | 2008-07-30 04:34:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2008-07-30 04:34:58 +0000 |
commit | 2992fc038ac25897a1324145ed146d18e83d92be (patch) | |
tree | a401676b306b6dc9984d82ea9219b4d822e4cf59 /opcodes/or32-opc.c | |
parent | 1af22fcd336623a00a96c8e47db78ca5192af449 (diff) | |
download | binutils-redhat-2992fc038ac25897a1324145ed146d18e83d92be.tar.gz |
Silence gcc printf warnings
Diffstat (limited to 'opcodes/or32-opc.c')
-rw-r--r-- | opcodes/or32-opc.c | 5 |
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; } |