2014-12-05 Steve Ellcey <sellcey@mips.com>
authorSteve Ellcey <Steve.Ellcey@imgtec.com>
Fri, 5 Dec 2014 19:06:53 +0000 (11:06 -0800)
committerSteve Ellcey <Steve.Ellcey@imgtec.com>
Fri, 5 Dec 2014 19:06:53 +0000 (11:06 -0800)
* ecoff.c (_bfd_ecoff_slurp_symbol_table): Add cast.

bfd/ChangeLog
bfd/ecoff.c

index d3e211d61e5b02302e45496b5ca69dadee178ea2..d1c86da91d5a9168d10f563944e45b9908e72d5b 100644 (file)
@@ -1,3 +1,7 @@
+2014-12-05  Steve Ellcey  <sellcey@mips.com>
+
+       * ecoff.c (_bfd_ecoff_slurp_symbol_table): Add cast.
+
 2014-12-05  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf64-x86-64.c (bfd_elf32_get_synthetic_symtab): New.
index 70783b1079f7e9cd448c18957ca6708c35096c89..e72e25491319676b8181893fb2e18fdfa4a56e81 100644 (file)
@@ -952,7 +952,7 @@ _bfd_ecoff_slurp_symbol_table (bfd *abfd)
      and ecoff_data (abfd)->debug_info.symbolic_header.ifdMax can mean that
      we have fewer symbols than we were expecting.  Allow for this by updating
      the symbol count and warning the user.  */
-  if (internal_ptr - internal < bfd_get_symcount (abfd))
+  if (internal_ptr - internal < (ptrdiff_t) bfd_get_symcount (abfd))
     {
       bfd_get_symcount (abfd) = internal_ptr - internal;
       (*_bfd_error_handler)
This page took 0.026766 seconds and 4 git commands to generate.