From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22455 invoked by alias); 17 May 2006 23:53:17 -0000 Received: (qmail 22321 invoked by uid 22791); 17 May 2006 23:53:04 -0000 X-Spam-Check-By: sourceware.org Received: from CPE-144-136-172-108.sa.bigpond.net.au (HELO grove.modra.org) (144.136.172.108) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 17 May 2006 23:52:43 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 36C311E3102; Thu, 18 May 2006 09:22:39 +0930 (CST) Date: Thu, 18 May 2006 21:51:00 -0000 From: Alan Modra To: binutils@sourceware.org Subject: Re: 2.16.93 prerelease available Message-ID: <20060517235239.GM19700@bubble.grove.modra.org> Mail-Followup-To: binutils@sourceware.org References: <20060517192841.GA13224@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060517192841.GA13224@nevyn.them.org> 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-05/txt/msg00312.txt.bz2 Fixes build breakage. Applied to 2.17 branch. * avr-dis.c (avr_operand): Warning fix. Index: opcodes/avr-dis.c =================================================================== RCS file: /cvs/src/src/opcodes/avr-dis.c,v retrieving revision 1.16 diff -u -p -r1.16 avr-dis.c --- opcodes/avr-dis.c 12 Apr 2006 13:09:10 -0000 1.16 +++ opcodes/avr-dis.c 17 May 2006 23:49:05 -0000 @@ -1,5 +1,6 @@ /* Disassemble AVR instructions. - Copyright 1999, 2000, 2002, 2004, 2005 Free Software Foundation, Inc. + Copyright 1999, 2000, 2002, 2004, 2005, 2006 + Free Software Foundation, Inc. Contributed by Denis Chertykov @@ -142,7 +143,7 @@ avr_operand (unsigned int insn, unsigned /* See PR binutils/2545. Ideally we would like to display the hex value of the address only once, but this would mean recoding objdump_print_address() which would affect many targets. */ - sprintf (buf, "%#lx", * sym_addr); + sprintf (buf, "%#lx", (unsigned long) *sym_addr); sprintf (comment, "0x"); break; -- Alan Modra IBM OzLabs - Linux Technology Centre