Build failure on OSX

Alan Modra amodra@bigpond.net.au
Tue Oct 2 01:04:00 GMT 2007


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



More information about the Binutils mailing list