--- utils.c.orig	Tue May 26 18:56:25 2009
+++ utils.c	Tue Jul 14 18:31:22 2009
@@ -276,7 +276,7 @@ void run_command(qiv_image *q, char *n, char *filename
     dup2(pipe_stdout[1], 2);
     close(pipe_stdout[1]);
 
-    execlp("qiv-command", "qiv-command", nr, filename, NULL);
+    execlp("qiv-command", "qiv-command", nr, filename, (void *)NULL);
     perror("Error calling qiv-command");
     abort();
   }
