From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18797 invoked by alias); 6 Jun 2006 02:49:19 -0000 Received: (qmail 18787 invoked by uid 22791); 6 Jun 2006 02:49:18 -0000 X-Spam-Check-By: sourceware.org Received: from omta04ps.mx.bigpond.com (HELO omta04ps.mx.bigpond.com) (144.140.83.156) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Jun 2006 02:49:17 +0000 Received: from grove.modra.org ([144.136.172.108]) by omta04ps.mx.bigpond.com with ESMTP id <20060606024910.RZAN15358.omta04ps.mx.bigpond.com@grove.modra.org> for ; Tue, 6 Jun 2006 02:49:10 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 3AA9F1CC3FA; Tue, 6 Jun 2006 12:19:10 +0930 (CST) Date: Tue, 06 Jun 2006 02:51:00 -0000 From: Alan Modra To: binutils@sourceware.org Subject: m68hc11 warning fix Message-ID: <20060606024910.GF519@bubble.grove.modra.org> Mail-Followup-To: binutils@sourceware.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00057.txt.bz2 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