RISC-V: Don't assume the priv attributes are in order when handling them.
[deliverable/binutils-gdb.git] / gdb / gdb_obstack.c
index df34968f3fc5e6006149716a1d630fb96cb0dd5f..43e7a68a7fdabccd2fc110dbcb8d198b1f6e958a 100644 (file)
@@ -1,6 +1,6 @@
 /* Obstack wrapper for GDB.
 
-   Copyright (C) 2013 Free Software Foundation, Inc.
+   Copyright (C) 2013-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -43,5 +43,5 @@ obconcat (struct obstack *obstackp, ...)
   va_end (ap);
   obstack_1grow (obstackp, 0);
 
-  return obstack_finish (obstackp);
+  return (char *) obstack_finish (obstackp);
 }
This page took 0.02797 seconds and 4 git commands to generate.