This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: readelf.c change
Hi Daniel,
> given that conflictsno is an unsigned type (size_t), wouldn't it be more
> logical to make the change listed below to readelf.c?
Yup,
> - printf (_("\nSection '.conflict' contains %ld entries:\n"),
> - (long) conflictsno);
> + printf (_("\nSection '.conflict' contains %lu entries:\n"),
> + (unsigned long) conflictsno);
> puts (_(" Num: Index Value Name"));
>
> for (cnt = 0; cnt < conflictsno; ++cnt)
I have applied this patch along with this ChangeLog entry:
2004-02-23 Daniel Lucq <daniel@lucq.org>
* readelf.c (process_mips_specific): Print conflictsno as an
unsigned long.
Cheers
Nick