Add typecast to execv call.

Declare function menu_dump.
This commit is contained in:
mmdolze
2006-09-21 05:29:06 +00:00
parent 6d3020af58
commit 35efb1df57
2 changed files with 2 additions and 1 deletions
+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: