diff options
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/coffgen.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a4b5900..ba0c3fc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2007-08-12 Daniel Jacobowitz <dan@codesourcery.com> + + * coffgen.c (coff_get_normalized_symtab): Correct cast. + 2007-08-13 Alan Modra <amodra@bigpond.net.au> * elf.c (elf_modify_segment_map): Add remove_empty_load param. diff --git a/bfd/coffgen.c b/bfd/coffgen.c index 0ecc602..0e8b7ed 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 |