$OpenBSD: patch-clients_mwm_WmFunction_c,v 1.1 2002/12/29 09:34:48 pvalchev Exp $
--- clients/mwm/WmFunction.c.orig	Sun Dec 29 00:45:44 2002
+++ clients/mwm/WmFunction.c	Sun Dec 29 00:46:39 2002
@@ -1119,12 +1119,12 @@ Boolean F_Exec (String args, ClientData 
 		directory, then we must call execlp and not execl
 		*/
 		shellname = shell;
-		execlp (shell, shellname, "-c", args, 0);
+		execlp (shell, shellname, "-c", args, (void *)NULL);
 	    }
 	    else
 	    {
 		shellname++;
-		execl (shell, shellname, "-c", args, 0);
+		execl (shell, shellname, "-c", args, (void *)NULL);
 	    }
 	}
 
@@ -1133,9 +1133,9 @@ Boolean F_Exec (String args, ClientData 
 	 * Try /bin/sh .
 	 */
 #ifdef SVR4
-        execl ("/usr/bin/sh", "sh", "-c", args, 0);
+        execl ("/usr/bin/sh", "sh", "-c", args, (void *)NULL);
 #else
-        execl ("/bin/sh", "sh", "-c", args, 0);
+        execl ("/bin/sh", "sh", "-c", args, (void *)NULL);
 #endif