summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index cf2324d1..8ad750b8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2800,7 +2800,7 @@ main (int argc, char **argv, char **envp)
child.output.syncout = 0;
child.environment = environ;
- pid = child_execute_job (&child, 1, nargv);
+ pid = child_execute_job (&child, 1, (char **)nargv);
/* is this loop really necessary? */
do {