From 649aeae36c68204acf452edc99475331c86574bd Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 13 Aug 2007 01:45:11 +0000 Subject: [PATCH] * coffgen.c (coff_get_normalized_symtab): Correct cast. --- bfd/ChangeLog | 4 ++++ bfd/coffgen.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a4b5900a88d..ba0c3fc81cc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2007-08-12 Daniel Jacobowitz + + * coffgen.c (coff_get_normalized_symtab): Correct cast. + 2007-08-13 Alan Modra * elf.c (elf_modify_segment_map): Add remove_empty_load param. diff --git a/bfd/coffgen.c b/bfd/coffgen.c index 0ecc6023e6d..0e8b7eda5c4 100644 --- a/bfd/coffgen.c +++ b/bfd/coffgen.c @@ -1693,7 +1693,7 @@ coff_get_normalized_symtab (bfd *abfd) internal_ptr->u.syment._n._n_n._n_zeroes = 0; } else if (internal_ptr->u.syment._n._n_n._n_offset == 0) - internal_ptr->u.syment._n._n_n._n_offset = (bfd_vma) ""; + internal_ptr->u.syment._n._n_n._n_offset = (bfd_hostptr_t) ""; else if (!bfd_coff_symname_in_debug (abfd, &internal_ptr->u.syment)) { /* Long name already. Point symbol at the string in the -- 2.30.2