This is the mail archive of the binutils@sources.redhat.com 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]

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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]