changeset 10333:7b8a3f2101b6

64bit support
author alex
date Tue, 24 Jun 2003 19:59:14 +0000
parents dd748f428d05
children 3bace5e0af7c
files libmenu/menu_console.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmenu/menu_console.c	Tue Jun 24 18:03:38 2003 +0000
+++ b/libmenu/menu_console.c	Tue Jun 24 19:59:14 2003 +0000
@@ -301,7 +301,7 @@
     dup2(in[0],0);
     dup2(out[1],1);
     dup2(err[1],2);
-    execl("/bin/sh","sh","-c",cmd,NULL);
+    execl("/bin/sh","sh","-c",cmd,(void*)NULL);
     fprintf(errf,"exec failed : %s\n",strerror(errno));
     exit(1);
   }