Build failure on OSX
Masaki Muranaka
monaka@monami-software.com
Tue Oct 2 08:23:00 GMT 2007
On 2007/10/02, at 8:36, Alan Modra wrote:
> 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".
Thanks for your comment. It makes sense.
2007-10-02 Masaki Muranaka <monaka@monami-software.com>
* readelf.c (dump_section_as_strings): Use %6tx instead of
%6zx in printf format.
--
Masaki Muranaka
Monami software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-readelf.diff
Type: application/octet-stream
Size: 554 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20071002/5907c54a/attachment.obj>
More information about the Binutils
mailing list