diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-04-05 13:04:38 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-04-05 13:04:38 +0000 |
commit | 4504ead1db50e758e107f9b3a42975afbe1e8106 (patch) | |
tree | 02f0a041c4f9169cbd8607135939b4e843e232ba /gcc/java/parse-scan.c | |
parent | 908c4e83161c7166e0d86864b88d29115b003c5a (diff) | |
download | gcc-4504ead1db50e758e107f9b3a42975afbe1e8106.zip gcc-4504ead1db50e758e107f9b3a42975afbe1e8106.tar.gz gcc-4504ead1db50e758e107f9b3a42975afbe1e8106.tar.bz2 |
class.c (add_method_1): Cast the argument of `bzero' to PTR.
* class.c (add_method_1): Cast the argument of `bzero' to PTR.
* decl.c (copy_lang_decl): Likewise for `bcopy'.
* jcf-depend.c: Include "config.h", not <config.h>.
* jcf-parse.c (jcf_figure_file_type): Cast the arguments of
`bcopy' to PTR.
* jcf-path.c: Include "config.h", not <config.h>.
* lex.c: Don't include various system header files.
(java_init_lex): Cast the argument of `bzero' to PTR
* parse-scan.y (java_push_parser_context): Likewise.
* parse.y (java_push_parser_context): Likewise.
* xref.c: Don't include <stdio.h>.
From-SVN: r26203
Diffstat (limited to 'gcc/java/parse-scan.c')
-rw-r--r-- | gcc/java/parse-scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse-scan.c b/gcc/java/parse-scan.c index 654efcf..5c036af 100644 --- a/gcc/java/parse-scan.c +++ b/gcc/java/parse-scan.c @@ -2357,7 +2357,7 @@ java_push_parser_context () struct parser_ctxt *new = (struct parser_ctxt *)xmalloc(sizeof (struct parser_ctxt)); - bzero (new, sizeof (struct parser_ctxt)); + bzero ((PTR) new, sizeof (struct parser_ctxt)); new->next = ctxp; ctxp = new; } |