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

[binutils-gdb] Fix typo in previous delta for mach-o.c.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2d3ea0d5ba74fee0320766c4ceaa6d8f43a37a74

commit 2d3ea0d5ba74fee0320766c4ceaa6d8f43a37a74
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Feb 3 15:34:50 2015 +0000

    Fix typo in previous delta for mach-o.c.

Diff:
---
 bfd/mach-o.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index d44b94c..955685f 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -1389,7 +1389,7 @@ bfd_mach_o_canonicalize_one_reloc (bfd *abfd,
       if (reloc.r_extern)
 	{
 	  /* PR 17512: file: 8396-1185-0.004.  */
-	  if (num >= bfd_mach_o_count_symbols (abfd))
+	  if (num >= (unsigned) bfd_mach_o_count_symbols (abfd))
 	    sym = bfd_und_section_ptr->symbol_ptr_ptr;
 	  else if (syms == NULL)
 	    sym = bfd_und_section_ptr->symbol_ptr_ptr;


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