diff options
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index 4c924d0..f785d0f 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -417,7 +417,7 @@ add_method_1 (handle_class, access_flags, name, function_type) DECL_LANG_SPECIFIC (fndecl) = (struct lang_decl *) permalloc (sizeof (struct lang_decl)); - bzero (DECL_LANG_SPECIFIC (fndecl), sizeof (struct lang_decl)); + bzero ((PTR) DECL_LANG_SPECIFIC (fndecl), sizeof (struct lang_decl)); TREE_CHAIN (fndecl) = TYPE_METHODS (handle_class); TYPE_METHODS (handle_class) = fndecl; |