mips: fix void*/gdb_byte* compilation errors
[deliverable/binutils-gdb.git] / gdb / buildsym.c
index 54c1d0328b66c641ea798dd96fc2a9f1a52b3515..5f463ac8088c966332fdc4c4b8a4b2ab7be9e891 100644 (file)
@@ -1429,9 +1429,9 @@ end_symtab_with_blockvector (struct block *static_block,
     {
       /* Reallocate the dirname on the symbol obstack.  */
       COMPUNIT_DIRNAME (cu)
-       = obstack_copy0 (&objfile->objfile_obstack,
-                        buildsym_compunit->comp_dir,
-                        strlen (buildsym_compunit->comp_dir));
+       = (const char *) obstack_copy0 (&objfile->objfile_obstack,
+                                       buildsym_compunit->comp_dir,
+                                       strlen (buildsym_compunit->comp_dir));
     }
 
   /* Save the debug format string (if any) in the symtab.  */
This page took 0.023727 seconds and 4 git commands to generate.