summaryrefslogtreecommitdiff
path: root/gcc/c-pragma.c
diff options
context:
space:
mode:
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-25 22:17:02 +0000
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-25 22:17:02 +0000
commit4fd61bc65be58c3ae6a337331a66569609fa24fc (patch)
treed4ef1636ca1b7a8d3ec231e0f5b6e84697ddeb94 /gcc/c-pragma.c
parentf4d1037064bcbf270661c9e2b02defce1e998690 (diff)
downloadgcc-4fd61bc65be58c3ae6a337331a66569609fa24fc.tar.gz
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85166 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-pragma.c')
-rw-r--r--gcc/c-pragma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c
index 11e14be5157..563e2d7abdc 100644
--- a/gcc/c-pragma.c
+++ b/gcc/c-pragma.c
@@ -554,7 +554,7 @@ maybe_apply_renaming_pragma (tree decl, tree asmname)
const char *id = IDENTIFIER_POINTER (DECL_NAME (decl));
size_t ilen = IDENTIFIER_LENGTH (DECL_NAME (decl));
- char *newname = alloca (plen + ilen + 1);
+ char *newname = (char *) alloca (plen + ilen + 1);
memcpy (newname, prefix, plen);
memcpy (newname + plen, id, ilen + 1);