aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-04-05 13:04:38 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-04-05 13:04:38 +0000
commit4504ead1db50e758e107f9b3a42975afbe1e8106 (patch)
tree02f0a041c4f9169cbd8607135939b4e843e232ba /gcc/java/jcf-parse.c
parent908c4e83161c7166e0d86864b88d29115b003c5a (diff)
downloadgcc-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/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 58dd722..1b9db4e 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -1002,7 +1002,7 @@ DEFUN(jcf_figure_file_type, (jcf),
&& !open_in_zip (jcf, input_filename, NULL, 0))
{
localToFile = ALLOC (sizeof (struct ZipFileCache));
- bcopy (SeenZipFiles, localToFile, sizeof (struct ZipFileCache));
+ bcopy ((PTR) SeenZipFiles, (PTR) localToFile, sizeof (struct ZipFileCache));
process_zip_dir (); /* Register all the class defined there */
return JCF_ZIP;
}