diff options
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r-- | gcc/java/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c index be1fcf8..1b8898c 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -115,8 +115,8 @@ java_init_lex (finput, encoding) CPC_INITIALIZER_LIST (ctxp) = CPC_STATIC_INITIALIZER_LIST (ctxp) = CPC_INSTANCE_INITIALIZER_LIST (ctxp) = ctxp->incomplete_class = NULL_TREE; - bzero ((PTR) ctxp->modifier_ctx, 11*sizeof (ctxp->modifier_ctx[0])); - bzero ((PTR) current_jcf, sizeof (JCF)); + memset ((PTR) ctxp->modifier_ctx, 0, 11*sizeof (ctxp->modifier_ctx[0])); + memset ((PTR) current_jcf, 0, sizeof (JCF)); ctxp->current_parsed_class = NULL; ctxp->package = NULL_TREE; #endif |