summaryrefslogtreecommitdiff
path: root/gcc/java/check-init.c
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-18 15:46:34 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-18 15:46:34 +0000
commit0cc50a21073c6b5cd595aef9df548583b6334a08 (patch)
treeeb8e95ee304089b9733a38cca3a66ca60c241853 /gcc/java/check-init.c
parent73a8b678705422b54db1631f83b249392adf9a9c (diff)
downloadgcc-0cc50a21073c6b5cd595aef9df548583b6334a08.tar.gz
2002-11-14 Jens-Michael Hoffmann <jensmh@gmx.de>
* buffer.c: Remove unnecessary casts. * check-init.c: Likewise. * class.c: Likewise. * constants.c: Likewise. * decl.c: Likewise. * except.c: Likewise. * gjavah.c: Likewise. * jcf-io.c: Likewise. * jcf-parse.c: Likewise. * jcf-path.c: Likewise. * jvspec.c: Likewise. * lang.c: Likewise. * lex.c: Likewise. * verify.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59224 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/check-init.c')
-rw-r--r--gcc/java/check-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c
index e02237664bd..6495a78d85a 100644
--- a/gcc/java/check-init.c
+++ b/gcc/java/check-init.c
@@ -108,7 +108,7 @@ static tree get_variable_decl PARAMS ((tree));
static void final_assign_error PARAMS ((tree));
static void check_final_reassigned PARAMS ((tree, words));
-#define ALLOC_WORDS(NUM) ((word*) xmalloc ((NUM) * sizeof (word)))
+#define ALLOC_WORDS(NUM) (xmalloc ((NUM) * sizeof (word)))
#define FREE_WORDS(PTR) (free (PTR))
/* DECLARE_BUFFERS is used to allocate NUMBUFFER bit sets, each of