$OpenBSD: patch-gcc_tree-dump_c,v 1.4 2005/10/20 23:28:02 espie Exp $
--- gcc/tree-dump.c.orig	Tue Aug 23 09:39:43 2005
+++ gcc/tree-dump.c	Tue Oct  4 02:01:18 2005
@@ -825,7 +825,7 @@ get_dump_file_name (enum tree_dump_index
 	dump_id[0] = '\0';
     }
 
-  return concat (dump_base_name, dump_id, dfi->suffix, NULL);
+  return concat (dump_base_name, dump_id, dfi->suffix, (void *)0);
 }
 
 /* Begin a tree dump for PHASE. Stores any user supplied flag in
