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] | |
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
Attachment:
binutils-readelf.diff
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |