aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jvspec.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-07-19 16:09:51 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-07-19 16:09:51 +0000
commitc68b0a84257413fa115b2177650e024f4546501f (patch)
treed243de95567f278205efde59b3ca0adf508e6084 /gcc/java/jvspec.c
parentfd7643fbe49e24ba9553f28b0548f4e525b43001 (diff)
downloadgcc-c68b0a84257413fa115b2177650e024f4546501f.zip
gcc-c68b0a84257413fa115b2177650e024f4546501f.tar.gz
gcc-c68b0a84257413fa115b2177650e024f4546501f.tar.bz2
fixfixes.c [...]: Remove unnecessary casts.
gcc: * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c fixinc/server.c objc/objc-act.c: Remove unnecessary casts. f: * com.c data.c expr.c fini.c g77spec.c global.c lab.c lex.c name.c sta.c stc.c std.c storag.c stt.c stw.c symbol.c target.c type.c: Remove unnecessary casts. cp: * call.c class.c decl.c decl2.c g++spec.c lex.c parser.c pt.c rtti.c semantics.c typeck.c: Remove unnecessary casts. java: * class.c java-tree.h jcf-write.c jvspec.c: Remove unnecessary casts. treelang: * treetree.c: Remove unnecessary casts. From-SVN: r69593
Diffstat (limited to 'gcc/java/jvspec.c')
-rw-r--r--gcc/java/jvspec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c
index 710a344..b76025e 100644
--- a/gcc/java/jvspec.c
+++ b/gcc/java/jvspec.c
@@ -319,7 +319,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
else if (argv[i][1] == 'O')
saw_O = 1;
else if ((argv[i][2] == '\0'
- && (char *)strchr ("bBVDUoeTuIYmLiA", argv[i][1]) != NULL)
+ && strchr ("bBVDUoeTuIYmLiA", argv[i][1]) != NULL)
|| strcmp (argv[i], "-Tdata") == 0
|| strcmp (argv[i], "-MT") == 0
|| strcmp (argv[i], "-MF") == 0)
@@ -337,7 +337,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
}
else if (library != 0
&& ((argv[i][2] == '\0'
- && (char *) strchr ("cSEM", argv[i][1]) != NULL)
+ && strchr ("cSEM", argv[i][1]) != NULL)
|| strcmp (argv[i], "-MM") == 0))
{
/* Don't specify libraries if we won't link, since that would