summaryrefslogtreecommitdiff
path: root/gcc/java/verify.c
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-18 15:46:34 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-18 15:46:34 +0000
commit0cc50a21073c6b5cd595aef9df548583b6334a08 (patch)
treeeb8e95ee304089b9733a38cca3a66ca60c241853 /gcc/java/verify.c
parent73a8b678705422b54db1631f83b249392adf9a9c (diff)
downloadgcc-0cc50a21073c6b5cd595aef9df548583b6334a08.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59224 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/verify.c')
-rw-r--r--gcc/java/verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/verify.c b/gcc/java/verify.c
index 081116815f4..250e479b5fc 100644
--- a/gcc/java/verify.c
+++ b/gcc/java/verify.c
@@ -449,7 +449,7 @@ verify_jvm_instructions (jcf, byte_ops, length)
/* We read the exception handlers in order of increasing start PC.
To do this we first read and sort the start PCs. */
- starts = (struct pc_index *) xmalloc (eh_count * sizeof (struct pc_index));
+ starts = xmalloc (eh_count * sizeof (struct pc_index));
for (i = 0; i < eh_count; ++i)
{
starts[i].start_pc = GET_u2 (jcf->read_ptr + 8 * i);