Add typecast to execv call.

Declare function menu_dump.
This commit is contained in:
mmdolze committed 2006-09-21 05:29:06 +00:00
1 parent 6d3020af58
commit 35efb1df57
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -327,7 +327,7 @@ int exec_command(MenuEntry *cmd)
switch (fork()) {
case 0:
/* We're the child. Execute the command. */
execv(argv[0], argv);
execv(argv[0], (char **) argv);
exit(0);
break;
case -1: