Add casts to memory allocation related calls
[deliverable/binutils-gdb.git] / gdb / dicos-tdep.c
index 633cd8d47cf032fee51ed80cb45ea4a955745350..82c6c11f401e5465c06f37aceff986f9c4c86b69 100644 (file)
@@ -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)
This page took 0.026596 seconds and 4 git commands to generate.