$OpenBSD: patch-plug-ins_common_gz_c,v 1.1 2002/12/29 00:10:47 pvalchev Exp $
--- plug-ins/common/gz.c.orig	Sat Dec 28 14:57:34 2002
+++ plug-ins/common/gz.c	Sat Dec 28 14:57:49 2002
@@ -368,7 +368,7 @@ save_image (gchar  *filename,
 	g_message ("gz: dup2 failed: %s\n", g_strerror (errno));
 
       /* and gzip into it */
-      execlp ("gzip", "gzip", "-cf", tmpname, NULL);
+      execlp ("gzip", "gzip", "-cf", tmpname, (void *)NULL);
       g_message ("gz: exec failed: gzip: %s\n", g_strerror (errno));
       g_free (tmpname);
       _exit(127);
@@ -486,7 +486,7 @@ load_image (gchar             *filename,
 	}
 
       /* and unzip into it */
-      execlp ("gzip", "gzip", "-cfd", filename, NULL);
+      execlp ("gzip", "gzip", "-cfd", filename, (void *)NULL);
       g_message ("gz: exec failed: gunzip: %s\n", g_strerror (errno));
       g_free (tmpname);
       _exit(127);
