$OpenBSD: patch-src_popen_c,v 1.3 2007/10/12 20:12:19 sturm Exp $
--- src/popen.c.orig	Fri Jan 13 21:39:00 2006
+++ src/popen.c	Sun Sep  2 15:44:05 2007
@@ -416,7 +416,7 @@ FILE *cfpopen_sh(char *command,char *type)
           }
        }
     
-    execl("/bin/sh","sh","-c",command,NULL);
+    execl("/bin/sh","sh","-c",command,(void *)NULL);
     _exit(1);
     }
  else
@@ -565,7 +565,7 @@ FILE *cfpopen_shsetuid(char *command,char *type,uid_t 
           }
        }
     
-    execl("/bin/sh","sh","-c",command,NULL);
+    execl("/bin/sh","sh","-c",command,(void *)NULL);
     _exit(1);
     }
  else
