summaryrefslogtreecommitdiff
path: root/gcc/java/java-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r--gcc/java/java-tree.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index 5aaceee2c01..f56991c7fab 100644
--- a/gcc/java/java-tree.h
+++ b/gcc/java/java-tree.h
@@ -541,9 +541,12 @@ struct lang_decl_var
if (TYPE_LANG_SPECIFIC ((T)) == NULL) \
{ \
TYPE_LANG_SPECIFIC ((T)) = \
- (struct lang_type *)xmalloc (sizeof (struct lang_type)); \
- bzero (TYPE_LANG_SPECIFIC ((T)), sizeof (struct lang_type)); \
+ (struct lang_type *) xmalloc (sizeof (struct lang_type)); \
+ \
+ bzero ((char *) TYPE_LANG_SPECIFIC ((T)), \
+ sizeof (struct lang_type)); \
}
+
#define TYPE_FINIT_STMT_LIST(T) (TYPE_LANG_SPECIFIC(T)->finit_stmt_list)
#define TYPE_CLINIT_STMT_LIST(T) (TYPE_LANG_SPECIFIC(T)->clinit_stmt_list)
#define TYPE_II_STMT_LIST(T) (TYPE_LANG_SPECIFIC(T)->ii_block)