aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-08-13 01:45:11 +0000
committerDaniel Jacobowitz <drow@false.org>2007-08-13 01:45:11 +0000
commit649aeae36c68204acf452edc99475331c86574bd (patch)
treebb8713c2d8c286c90fadcc406579f260cc2b110b
parent2444379b1968f99301793bf4aff81a9cfcbc2590 (diff)
downloadgdb-649aeae36c68204acf452edc99475331c86574bd.zip
gdb-649aeae36c68204acf452edc99475331c86574bd.tar.gz
gdb-649aeae36c68204acf452edc99475331c86574bd.tar.bz2
* coffgen.c (coff_get_normalized_symtab): Correct cast.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/coffgen.c2
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