diff options
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r-- | gdb/fork-child.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c index dc2a314..04d2cdf 100644 --- a/gdb/fork-child.c +++ b/gdb/fork-child.c @@ -292,7 +292,7 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env, <args>". */ argv = (char **) alloca (4 * sizeof (char *)); argv[0] = shell_file; - argv[1] = "-c"; + argv[1] = (char *) "-c"; argv[2] = shell_command; argv[3] = (char *) 0; } |