$OpenBSD: patch-gcc_tree-dump_c,v 1.4 2005/08/04 14:51:37 espie Exp $
--- gcc/tree-dump.c.orig	Wed Jul 20 03:18:20 2005
+++ gcc/tree-dump.c	Thu Aug  4 10:54:01 2005
@@ -831,7 +831,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
