From 3497fae8570b56162604a4df23ba089be7daf65c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 1 Sep 2010 07:50:47 +0000 Subject: 2010-09-01 Tristan Gingold * coffcode.h (coff_slurp_line_table): Add a cast. (coff_slurp_reloc_table): Ditto. --- bfd/coffcode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/coffcode.h') diff --git a/bfd/coffcode.h b/bfd/coffcode.h index ad35e32f05..790908a5cf 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -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; } -- cgit v1.2.1