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]

Re: Build failure on OSX


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


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