2010-09-01 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Wed, 1 Sep 2010 07:50:48 +0000 (07:50 +0000)
committerTristan Gingold <gingold@adacore.com>
Wed, 1 Sep 2010 07:50:48 +0000 (07:50 +0000)
* coffcode.h (coff_slurp_line_table): Add a cast.
(coff_slurp_reloc_table): Ditto.

bfd/ChangeLog
bfd/coffcode.h

index 1feb70b986f51620bdbd8093c03cee9d698aec83..05bda4af8df99e336bd65a6f072afe02c5a3d2ef 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-01  Tristan Gingold  <gingold@adacore.com>
+
+       * coffcode.h (coff_slurp_line_table): Add a cast.
+       (coff_slurp_reloc_table): Ditto.
+
 2010-08-30  Gunther Nikl  <gnikl@users.sourceforge.net>
 
        * cisco-core.c (cisco_core_file_pid): Define.
index ad35e32f05052c3f04c46f0759c676062a0e2492..790908a5cfd16f61d727680bb4c7799b729f0c9f 100644 (file)
@@ -4487,7 +4487,7 @@ coff_slurp_line_table (bfd *abfd, asection *asect)
            {
              (*_bfd_error_handler)
                (_("%B: warning: illegal symbol index %ld in line numbers"),
-                abfd, dst.l_addr.l_symndx);
+                abfd, (long) symndx);
              symndx = 0;
              warned = TRUE;
            }
@@ -5123,7 +5123,7 @@ coff_slurp_reloc_table (bfd * abfd, sec_ptr asect, asymbol ** symbols)
            {
              (*_bfd_error_handler)
                (_("%B: warning: illegal symbol index %ld in relocs"),
-                abfd, dst.r_symndx);
+                abfd, (long) dst.r_symndx);
              cache_ptr->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr;
              ptr = NULL;
            }