summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ucode/platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ucode/platform.h b/include/ucode/platform.h
index 52eb391..ef244c6 100644
--- a/include/ucode/platform.h
+++ b/include/ucode/platform.h
@@ -61,12 +61,12 @@ __hidden int pipe2(int[2], int);
__hidden int sigtimedwait(const sigset_t *, siginfo_t *, const struct timespec *);
static inline int
-execvpe(const char *program, char **argv, char **envp)
+execvpe(const char *program, char * const *argv, char * const *envp)
{
char **saved = environ;
int rc;
- environ = envp;
+ environ = (char **)envp;
rc = execvp(program, argv);
environ = saved;