diff options
author | Pedro Alves <palves@redhat.com> | 2015-10-27 14:57:18 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-10-27 15:06:04 +0000 |
commit | 709b551853919f47b58aafbb95fd00a98bcaf76c (patch) | |
tree | 9203e4e244e5dc09fb0c65ba1df3a32a471746e1 /gdb/psymtab.c | |
parent | e0d13cbd4bcec3e8136925a3a07f85e58187da06 (diff) | |
download | gdb-709b551853919f47b58aafbb95fd00a98bcaf76c.zip gdb-709b551853919f47b58aafbb95fd00a98bcaf76c.tar.gz gdb-709b551853919f47b58aafbb95fd00a98bcaf76c.tar.bz2 |
psymtab.c: Add casts
... as needed for C++.
gdb/ChangeLog:
2015-10-27 Pedro Alves <palves@redhat.com>
* psymtab.c (dump_psymtab_addrmap_1): Add casts.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r-- | gdb/psymtab.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c index 6f7fec6..fa1181b 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -1904,9 +1904,10 @@ struct dump_psymtab_addrmap_data static int dump_psymtab_addrmap_1 (void *datap, CORE_ADDR start_addr, void *obj) { - struct dump_psymtab_addrmap_data *data = datap; + struct dump_psymtab_addrmap_data *data + = (struct dump_psymtab_addrmap_data *) datap; struct gdbarch *gdbarch = get_objfile_arch (data->objfile); - struct partial_symtab *addrmap_psymtab = obj; + struct partial_symtab *addrmap_psymtab = (struct partial_symtab *) obj; const char *psymtab_address_or_end = NULL; QUIT; |