diff options
author | brolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-07 10:35:27 +0000 |
---|---|---|
committer | brolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-07 10:35:27 +0000 |
commit | 81d1a796592acee836fefa7606cddd5b6a505ccd (patch) | |
tree | 23b92bd39b6485ed2d1cf4e011752164ac81fb8b /gcc/cppspec.c | |
parent | 8936006821ca7ed89baf35b3a495d69a83699588 (diff) | |
download | gcc-81d1a796592acee836fefa7606cddd5b6a505ccd.tar.gz |
Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
* cpplib.c (do_define): Cast `alloca' return value.
(do_include, do_undef, do_pragma): Likewise.
* cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
values.
* cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
* gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27391 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppspec.c')
-rw-r--r-- | gcc/cppspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppspec.c b/gcc/cppspec.c index 2e0221626e3..4ab043d2158 100644 --- a/gcc/cppspec.c +++ b/gcc/cppspec.c @@ -194,7 +194,7 @@ lang_specific_driver (errfn, in_argc, in_argv, in_added_libraries) if (new_argc == argc) return; - new_argv = xmalloc (new_argc * sizeof(char *)); + new_argv = (char **) xmalloc (new_argc * sizeof(char *)); new_argv[0] = argv[0]; j = 1; |