This is the mail archive of the binutils@sourceware.org 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]

[patch] fix another build failure with GCC-4.2


[forwarded from http://bugs.debian.org/433062]

patch by Daniel Schepler <schepler@math.unipd.it>

  Matthias
diff -urNad binutils-2.17cvs20070713~/bfd/coffgen.c binutils-2.17cvs20070713/bfd/coffgen.c
--- binutils-2.17cvs20070713~/bfd/coffgen.c	2007-07-12 07:16:40.000000000 +0000
+++ binutils-2.17cvs20070713/bfd/coffgen.c	2007-07-14 05:00:40.000000000 +0000
@@ -1687,7 +1687,7 @@
 	      internal_ptr->u.syment._n._n_n._n_zeroes = 0;
 	    }
 	  else if (internal_ptr->u.syment._n._n_n._n_offset == 0)
-	    internal_ptr->u.syment._n._n_n._n_offset = (bfd_vma) "";
+	    internal_ptr->u.syment._n._n_n._n_offset = (bfd_vma) (bfd_hostptr_t) "";
 	  else if (!bfd_coff_symname_in_debug (abfd, &internal_ptr->u.syment))
 	    {
 	      /* Long name already.  Point symbol at the string in the

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