aboutsummaryrefslogtreecommitdiff
path: root/gdb/dicos-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dicos-tdep.c')
-rw-r--r--gdb/dicos-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dicos-tdep.c b/gdb/dicos-tdep.c
index 633cd8d..82c6c11 100644
--- a/gdb/dicos-tdep.c
+++ b/gdb/dicos-tdep.c
@@ -90,7 +90,7 @@ dicos_load_module_p (bfd *abfd, int header_size)
{
long i, symcount;
- symbol_table = xmalloc (storage_needed);
+ symbol_table = (asymbol **) xmalloc (storage_needed);
symcount = bfd_canonicalize_symtab (abfd, symbol_table);
if (symcount < 0)