This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
proposed minor netbsd-core.c fix
- From: Daniel Lucq <daniel at lucq dot org>
- To: binutils at sources dot redhat dot com
- Date: Thu, 26 Feb 2004 12:18:40 +0100 (CET)
- Subject: proposed minor netbsd-core.c fix
Hi all,
I would like to propose the included minor change to bfd/netbsd-core.c. It
changes a single data type, plus it fixes a compiler warning concerning an
unused variable.
Regards,
Daniel Lucq
--- netbsd-core.c.orig Thu Feb 26 12:11:01 2004
+++ netbsd-core.c Thu Feb 26 12:11:30 2004
@@ -61,9 +61,13 @@
bfd *abfd;
{
- int i, val;
+ int val;
+ unsigned int i;
file_ptr offset;
- asection *asect, *asect2;
+ asection *asect;
+#ifdef CORE_FPU_OFFSET
+ asection *asect2;
+#endif
struct core core;
struct coreseg coreseg;
bfd_size_type amt = sizeof core;