This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
readelf.c change
- From: Daniel Lucq <daniel at lucq dot org>
- To: binutils at sources dot redhat dot com
- Date: Sun, 22 Feb 2004 19:29:09 +0100 (CET)
- Subject: readelf.c change
Hi all,
given that conflictsno is an unsigned type (size_t), wouldn't it be more
logical to make the change listed below to readelf.c?
Regards,
Daniel Lucq
--- readelf.c.orig Sun Feb 22 19:20:44 2004
+++ readelf.c Sun Feb 22 19:21:03 2004
@@ -9787,8 +9787,8 @@
free (econf64);
}
- 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)