bfd/netbsd-core.c warning fix
Ben Elliston
bje@gnu.org
Tue Dec 7 10:52:00 GMT 2004
Committed as obvious. NetBSD's <sys/core.h> defines c_nseg in struct
core to be unsigned and `i' is used to iterate over the c_nsegs (and
for nothing else).
2004-12-07 Ben Elliston <bje@gnu.org>
* netbsd-core.c (netbsd_core_file_p): Make `i' unsigned.
Index: netbsd-core.c
===================================================================
RCS file: /cvs/src/src/bfd/netbsd-core.c,v
retrieving revision 1.18
diff -u -r1.18 netbsd-core.c
--- netbsd-core.c 24 Jun 2004 04:46:25 -0000 1.18
+++ netbsd-core.c 7 Dec 2004 10:49:13 -0000
@@ -63,7 +63,8 @@
bfd *abfd;
{
- int i, val;
+ int val;
+ unsigned i;
file_ptr offset;
asection *asect;
struct core core;
More information about the Binutils
mailing list