aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/verify.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/verify.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/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 0811168..250e479 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);