aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
diff options
context:
space:
mode:
authorJens-Michael Hoffmann <jensmh@gmx.de>2002-11-18 15:46:34 +0000
committerAndrew Haley <aph@gcc.gnu.org>2002-11-18 15:46:34 +0000
commita92cb0c3d32169727f3b3a0543bda241663d1244 (patch)
treeeb8e95ee304089b9733a38cca3a66ca60c241853 /gcc/java/jcf-parse.c
parente7e0de7e333f5389009e7f7b9894c97035021609 (diff)
downloadgcc-a92cb0c3d32169727f3b3a0543bda241663d1244.zip
gcc-a92cb0c3d32169727f3b3a0543bda241663d1244.tar.gz
gcc-a92cb0c3d32169727f3b3a0543bda241663d1244.tar.bz2
buffer.c: Remove unnecessary casts.
2002-11-14 Jens-Michael Hoffmann <jensmh@gmx.de> * buffer.c: Remove unnecessary casts. * check-init.c: Likewise. * class.c: Likewise. * constants.c: Likewise. * decl.c: Likewise. * except.c: Likewise. * gjavah.c: Likewise. * jcf-io.c: Likewise. * jcf-parse.c: Likewise. * jcf-path.c: Likewise. * jvspec.c: Likewise. * lang.c: Likewise. * lex.c: Likewise. * verify.c: Likewise. From-SVN: r59224
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 5141119..eeb262a 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -708,7 +708,7 @@ void
init_outgoing_cpool ()
{
current_constant_pool_data_ref = NULL_TREE;
- outgoing_cpool = (struct CPool *)xmalloc (sizeof (struct CPool));
+ outgoing_cpool = xmalloc (sizeof (struct CPool));
memset (outgoing_cpool, 0, sizeof (struct CPool));
}
@@ -1059,7 +1059,7 @@ java_parse_file (set_yydebug)
fatal_io_error ("can't open %s", IDENTIFIER_POINTER (name));
#ifdef IO_BUFFER_SIZE
- setvbuf (finput, (char *) xmalloc (IO_BUFFER_SIZE),
+ setvbuf (finput, xmalloc (IO_BUFFER_SIZE),
_IOFBF, IO_BUFFER_SIZE);
#endif
input_filename = IDENTIFIER_POINTER (name);