m68hc11 warning fix
Alan Modra
amodra@bigpond.net.au
Tue Jun 6 02:51:00 GMT 2006
Inside #ifdef DEBUG, so this is really minor.
* m68hc11-dis.c (print_insn): Warning fix.
Index: opcodes/m68hc11-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/m68hc11-dis.c,v
retrieving revision 1.10
diff -u -p -r1.10 m68hc11-dis.c
--- opcodes/m68hc11-dis.c 7 May 2005 07:34:29 -0000 1.10
+++ opcodes/m68hc11-dis.c 6 Jun 2006 01:50:33 -0000
@@ -692,11 +692,11 @@ print_insn (bfd_vma memaddr, struct disa
opcode table content. */
if (format & ~(M6811_OP_PAGE4 | M6811_OP_PAGE3 | M6811_OP_PAGE2))
{
- (*info->fprintf_func) (info->stream, "; Error, format: %x", format);
+ (*info->fprintf_func) (info->stream, "; Error, format: %lx", format);
}
if (pos != opcode->size)
{
- (*info->fprintf_func) (info->stream, "; Error, size: %d expect %d",
+ (*info->fprintf_func) (info->stream, "; Error, size: %ld expect %d",
pos, opcode->size);
}
#endif
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list