From 81819f711e6d1f9216f688da8ecbbc682d106d9c Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 23 Nov 2023 00:52:35 +0100 Subject: LibC: Reduce warnings in code --- userland/libc/unistd/execvp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'userland/libc/unistd/execvp.c') diff --git a/userland/libc/unistd/execvp.c b/userland/libc/unistd/execvp.c index 573e822..e38b4b7 100644 --- a/userland/libc/unistd/execvp.c +++ b/userland/libc/unistd/execvp.c @@ -1,8 +1,8 @@ -#include #include +#include // FIXME: Path resolution int execvp(const char *file, char *const argv[]) { - struct SYS_EXEC_PARAMS args = {.path = file, .argv = argv}; + struct SYS_EXEC_PARAMS args = {.path = file, .argv = (char **)argv}; return syscall(SYS_EXEC, &args, 0, 0, 0, 0); } -- cgit v1.2.3