$OpenBSD: patch-gcc_cp_call_c,v 1.1.1.1 2006/07/31 09:50:53 espie Exp $
--- gcc/cp/call.c.orig	Fri Jun 30 22:48:42 2006
+++ gcc/cp/call.c	Sun Jul 23 11:24:02 2006
@@ -5257,7 +5257,7 @@ name_as_c_string (tree name, tree type, 
 	  || name == base_dtor_identifier
 	  || name == deleting_dtor_identifier)
 	{
-	  pretty_name = concat ("~", pretty_name, NULL);
+	  pretty_name = concat ("~", pretty_name, (void *)0);
 	  /* Remember that we need to free the memory allocated.  */
 	  *free_p = true;
 	}
@@ -5267,7 +5267,7 @@ name_as_c_string (tree name, tree type, 
       pretty_name = concat ("operator ",
 			    type_as_string (TREE_TYPE (name),
 					    TFF_PLAIN_IDENTIFIER),
-			    NULL);
+			    (void *)0);
       /* Remember that we need to free the memory allocated.  */
       *free_p = true;
     }
