$OpenBSD: patch-src_IO_dpi_c,v 1.6 2004/12/04 20:44:27 couderc Exp $ --- src/IO/dpi.c.orig Thu Jul 15 15:37:28 2004 +++ src/IO/dpi.c Sat Dec 4 19:28:46 2004 @@ -339,9 +339,9 @@ static gint Dpi_start_dpid() /* This is the child process. Execute the command. */ gchar *path1 = a_Misc_prepend_user_home(".dillo/dpid"); close(st_pipe[0]); - if (execl(path1, "dpid", NULL) == -1) { + if (execl(path1, "dpid", (void *)NULL) == -1) { g_free(path1); - if (execlp("dpid", "dpid", NULL) == -1) { + if (execlp("dpid", "dpid", (void *)NULL) == -1) { DEBUG_MSG(4, "Dpi_start_dpid (child): %s\n", g_strerror(errno)); write(st_pipe[1], "ERROR", 5); close(st_pipe[1]);