summaryrefslogtreecommitdiff
path: root/gcc/java/parse-scan.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-05 13:04:38 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-05 13:04:38 +0000
commitda09d1fd618a9e655d267215aeaa5ca0e75f0857 (patch)
tree02f0a041c4f9169cbd8607135939b4e843e232ba /gcc/java/parse-scan.c
parent185ee0b4cf1bb83e8d285f30de81fec8ecfcb252 (diff)
downloadgcc-da09d1fd618a9e655d267215aeaa5ca0e75f0857.tar.gz
* 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>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/parse-scan.c')
-rw-r--r--gcc/java/parse-scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse-scan.c b/gcc/java/parse-scan.c
index 654efcfc3fc..5c036af5b05 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;
}