$OpenBSD: patch-gcc_cp_call_c,v 1.2 2006/10/20 13:43:18 espie Exp $
--- gcc/cp/call.c.orig	Wed Aug 30 06:33:10 2006
+++ gcc/cp/call.c	Wed Oct 18 00:37:31 2006
@@ -5265,7 +5265,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;
 	}
@@ -5275,7 +5275,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;
     }
