This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

m68hc11 warning fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]