+2021-05-29 Mike Frysinger <vapier@gentoo.org>
+
+ * simops.c (OP_10007E0): Add (void*) casts to argv & envp.
+
2021-05-17 Mike Frysinger <vapier@gentoo.org>
* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
char *path = fetch_str (simulator, PARM1);
char **argv = fetch_argv (simulator, PARM2);
char **envp = fetch_argv (simulator, PARM3);
- RETVAL = execve (path, argv, envp);
+ RETVAL = execve (path, (void *)argv, (void *)envp);
free (path);
freeargv (argv);
freeargv (envp);
{
char *path = fetch_str (simulator, PARM1);
char **argv = fetch_argv (simulator, PARM2);
- RETVAL = execv (path, argv);
+ RETVAL = execv (path, (void *)argv);
free (path);
freeargv (argv);
RETERR = errno;