diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-22 01:41:31 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-22 01:41:31 +0000 |
commit | cc0a8c775942b047e581940d675a5636775fed4b (patch) | |
tree | 15ca88bb9e4b6c33745aa08e5b527654eacfd373 /gcc/godump.c | |
parent | dd7ffa9b9f9d850f599148e5d46ccfb19107a738 (diff) | |
download | gcc-cc0a8c775942b047e581940d675a5636775fed4b.tar.gz |
gcc/
* gengtype.h (obstack_chunk_alloc, obstack_chunk_free): Remove cast.
* coretypes.h (obstack_chunk_alloc, obstack_chunk_free): Likewise.
(gcc_obstack_init): Use obstack_specify_allocation in place of
_obstack_begin.
* genautomata.c (next_sep_el): Cast result of obstack_base to (char *).
(regexp_representation): Likewise.
* godump.c (go_output_type): Likewise.
gcc/java/
* mangle.c (finish_mangling): Cast result of obstack_base to (char *).
* typeck.c (build_java_argument_signature): Likewise.
(build_java_signature): Likewise.
gcc/objc/
* objc-encoding.c (encode_array): Cast result of obstack_base.
(encode_type): Likewise.
libcpp/
* symtab.c (ht_create): Use obstack_specify_allocation in place of
_obstack_begin.
* files.c (_cpp_init_files): Likewise.
* init.c (cpp_create_reader): Likewise.
* identifiers.c (_cpp_init_hashtable): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/godump.c')
-rw-r--r-- | gcc/godump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/godump.c b/gcc/godump.c index 7566f4d3eff..5e4b7fcb0e7 100644 --- a/gcc/godump.c +++ b/gcc/godump.c @@ -920,7 +920,7 @@ go_output_type (struct godump_container *container) ob = &container->type_obstack; obstack_1grow (ob, '\0'); - fputs (obstack_base (ob), go_dump_file); + fputs ((char *) obstack_base (ob), go_dump_file); obstack_free (ob, obstack_base (ob)); } |