$OpenBSD: patch-src_types_c,v 1.1 2002/12/28 23:29:13 pvalchev Exp $
--- src/types.c.orig	Sat Dec 28 14:51:08 2002
+++ src/types.c	Sat Dec 28 14:52:33 2002
@@ -373,7 +373,7 @@ void typ_identify_end(MainInfo *min, con
 				bits |= (close(fd[STDOUT_FILENO]) == 0) << 1;
 		}
 		if(bits == 3U && chdir(path) == 0)
-			execlp("file", "file", "-f", "-", NULL);
+			execlp("file", "file", "-f", "-", (void *)NULL);
 		_exit(EXIT_FAILURE);
 	}
 	else if(file_pid < 0)
