aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-02-03 15:34:50 +0000
committerNick Clifton <nickc@redhat.com>2015-02-03 15:34:50 +0000
commit2d3ea0d5ba74fee0320766c4ceaa6d8f43a37a74 (patch)
treea8c57a4da591bb3dcf838b74c7e012948201b865 /bfd/mach-o.c
parent70b662892cfcf35d5addd40adf22a7354626598c (diff)
downloadgdb-2d3ea0d5ba74fee0320766c4ceaa6d8f43a37a74.zip
gdb-2d3ea0d5ba74fee0320766c4ceaa6d8f43a37a74.tar.gz
gdb-2d3ea0d5ba74fee0320766c4ceaa6d8f43a37a74.tar.bz2
Fix typo in previous delta for mach-o.c.
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r--bfd/mach-o.c2
1 files changed, 1 insertions, 1 deletions
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;