This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Build failure on OSX
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Masaki Muranaka <monaka at monami-software dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Tue, 2 Oct 2007 09:06:48 +0930
- Subject: Re: Build failure on OSX
- References: <D2D96E81-0318-4B7F-A36A-E0783F311D96@monami-software.com>
On Mon, Oct 01, 2007 at 04:54:58PM +0900, Masaki Muranaka wrote:
> ../../src/binutils/readelf.c:7781: warning: format '%6zx' expects type 'size_t', but argument 2 has type 'int'
>
> * readelf.c (dump_section_as_strings): Add a cast to size_t.
Actually, the right fix is probably to use "%6tx".
--
Alan Modra
Australia Development Lab, IBM