$OpenBSD: patch-demos_unsupported_motifshell_motifshell_c,v 1.1 2002/12/29 09:34:48 pvalchev Exp $
--- demos/unsupported/motifshell/motifshell.c.orig	Sun Dec 29 00:47:05 2002
+++ demos/unsupported/motifshell/motifshell.c	Sun Dec 29 00:47:27 2002
@@ -598,7 +598,7 @@ void SysCall (Widget widget, char *syste
   if ((p = fork()) == 0)
     {
       /* note - execlp uses PATH */
-      execlp(systemCommand, systemCommand, NULL);
+      execlp(systemCommand, systemCommand, (void *)NULL);
 
       /* if we fail to find the systemCommand, use 'find' to look for it. */
       fprintf(stderr, "can't find %s\n", systemCommand);
@@ -629,7 +629,7 @@ void SysCall (Widget widget, char *syste
 	      setenv("UIDPATH", uidpath, 1);
 #endif
 	    }
-	  execl(str, systemCommand, NULL);
+	  execl(str, systemCommand, (void *)NULL);
 	  printf("Still can't find %s...\n", systemCommand);
 	}
       printf("I give up!\n");
