S390: Migrate watch areas from list to VEC type
[deliverable/binutils-gdb.git] / gdb / buildsym.c
index 54c1d0328b66c641ea798dd96fc2a9f1a52b3515..56be8ac929ec9c70ed9c4e277076a2bc1791293e 100644 (file)
@@ -1,5 +1,5 @@
 /* Support routines for building symbol tables in GDB's internal format.
-   Copyright (C) 1986-2015 Free Software Foundation, Inc.
+   Copyright (C) 1986-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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.023889 seconds and 4 git commands to generate.