summaryrefslogtreecommitdiff
path: root/gcc/java/jvspec.c
diff options
context:
space:
mode:
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 0f58d47d20c..a021aa45f22 100644
--- a/gcc/java/jvspec.c
+++ b/gcc/java/jvspec.c
@@ -542,14 +542,14 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
if (! strncmp (argv[i], "-fCLASSPATH=", 12)
|| ! strncmp (argv[i], "-fclasspath=", 12))
{
- char *p = strchr (argv[i], '=');
+ const char *p = strchr (argv[i], '=');
jcf_path_classpath_arg (p + 1);
--j;
continue;
}
if (! strncmp (argv[i], "-fbootclasspath=", 16))
{
- char *p = strchr (argv[i], '=');
+ const char *p = strchr (argv[i], '=');
jcf_path_bootclasspath_arg (p + 1);
--j;
continue;