diff options
author | Bernardo Innocenti <bernie@develer.com> | 2004-07-25 22:17:02 +0000 |
---|---|---|
committer | Bernardo Innocenti <bernie@develer.com> | 2004-07-25 22:17:02 +0000 |
commit | 0ebc72b20c87150d64b784a4117c4fd6f6fb2aa9 (patch) | |
tree | d4ef1636ca1b7a8d3ec231e0f5b6e84697ddeb94 /gcc/c-lex.c | |
parent | 8794875db7bebbf8142ec79f0e3a45e24912cbd6 (diff) |
* basic-block.h (reorder_block_def): Rename to reorder_block_def_p.
* c-common.c: Add missing casts from void * to other types.
* c-decl.c: Likewise.
* c-format.c: Likewise.
* c-lex.c: Likewise.
* c-pragma.c: Likewise.
* c-typeck.c: Likewise.
* defaults.h: Likewise.
* genconstants.c: Likewise.
* gengtype-lex.l: Likewise.
* genmodes.c: Likewise.
* read-rtl.c: Likewise.
* rtl.c: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@85166 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 0e1473b13e7..091ec802d97 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -628,7 +628,7 @@ interpret_float (const cpp_token *token, unsigned int flags) /* I or J suffix. */ copylen--; - copy = alloca (copylen + 1); + copy = (char *) alloca (copylen + 1); memcpy (copy, token->val.str.text, copylen); copy[copylen] = '\0'; @@ -710,7 +710,7 @@ lex_string (const cpp_token *tok, tree *valp, bool objc_string) } } while (tok->type == CPP_STRING || tok->type == CPP_WSTRING); - strs = obstack_finish (&str_ob); + strs = (cpp_string *) obstack_finish (&str_ob); } /* We have read one more token than we want. */ |