* m68hc11-dis.c (print_insn): Warning fix.
authorAlan Modra <amodra@gmail.com>
Tue, 6 Jun 2006 02:48:34 +0000 (02:48 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 6 Jun 2006 02:48:34 +0000 (02:48 +0000)
opcodes/ChangeLog
opcodes/m68hc11-dis.c

index ac6f912e02fd575e28826e1ed7c7aa162401a55b..e89eb8f7eb98b3fa55843b19c0ac816b6cd8973d 100644 (file)
@@ -1,3 +1,7 @@
+2006-06-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * m68hc11-dis.c (print_insn): Warning fix.
+
 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * po/Make-in (top_builddir): Define.
index 9860013c2d7893f5c4c403a07b6d33e3917fc2a9..ae94271dde5b1795fba71ce7d21cbc6023c1e16d 100644 (file)
@@ -1,5 +1,6 @@
 /* m68hc11-dis.c -- Motorola 68HC11 & 68HC12 disassembly
-   Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+   Copyright 1999, 2000, 2001, 2002, 2003, 2006
+   Free Software Foundation, Inc.
    Written by Stephane Carrez (stcarrez@nerim.fr)
 
 This program is free software; you can redistribute it and/or modify
@@ -692,11 +693,11 @@ print_insn (bfd_vma memaddr, struct disassemble_info* info, int arch)
          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
This page took 0.035667 seconds and 4 git commands to generate.