summaryrefslogtreecommitdiff
path: root/gcc/java/jvspec.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/jvspec.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/jvspec.c')
-rw-r--r--gcc/java/jvspec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c
index e531f7ca5f3..8638ac38f6d 100644
--- a/gcc/java/jvspec.c
+++ b/gcc/java/jvspec.c
@@ -88,8 +88,8 @@ find_spec_file (dir)
int x;
struct stat sb;
- spec = (char *) xmalloc (strlen (dir) + sizeof (SPEC_FILE)
- + sizeof ("-specs=") + 4);
+ spec = xmalloc (strlen (dir) + sizeof (SPEC_FILE)
+ + sizeof ("-specs=") + 4);
strcpy (spec, "-specs=");
x = strlen (spec);
strcat (spec, dir);
@@ -251,7 +251,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
argv = *in_argv;
added_libraries = *in_added_libraries;
- args = (int *) xcalloc (argc, sizeof (int));
+ args = xcalloc (argc, sizeof (int));
for (i = 1; i < argc; i++)
{
@@ -496,7 +496,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
num_args += shared_libgcc;
- arglist = (const char **) xmalloc ((num_args + 1) * sizeof (char *));
+ arglist = xmalloc ((num_args + 1) * sizeof (char *));
j = 0;
for (i = 0; i < argc; i++, j++)