public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* m68hc11 warning fix
@ 2006-06-06  2:51 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2006-06-06  2:51 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-06  2:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-06  2:51 m68hc11 warning fix Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).