From afbfc9098ffd0a7d5033cb433fb8a748a57b63fe Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 13 Aug 2007 01:45:11 +0000 Subject: * 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 a4b5900a88..ba0c3fc81c 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 0ecc6023e6..0e8b7eda5c 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 -- cgit v1.2.1