From e0ec3f0a536fabe0c8c47dd64da77855c0824adc Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 17 Dec 2022 17:38:03 +0100 Subject: resolve Warnings --- smash/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smash/exec.c') diff --git a/smash/exec.c b/smash/exec.c index 11620a5..79c8414 100644 --- a/smash/exec.c +++ b/smash/exec.c @@ -91,7 +91,7 @@ void exec(char *line) close(pipefd[1][PIPE_OUT]); close(pipefd[1][PIPE_IN]); - __execenv(argv); + __execenv((const char **)argv); wstdf("command not found: %s\n", argv[0]); exit(-1); } -- cgit v1.2.3-70-g09d2