openbsd-ports/lang/gcc/4.0/patches/patch-gcc_cp_call_c
espie 889110dd72 update to more recent snapshot.
(synch patches using update-patches, no functional changes)
2005-01-03 16:23:48 +00:00

22 lines
808 B
Plaintext

$OpenBSD: patch-gcc_cp_call_c,v 1.3 2005/01/03 16:23:48 espie Exp $
--- gcc/cp/call.c.orig Sat Jan 1 02:43:12 2005
+++ gcc/cp/call.c Mon Jan 3 15:47:20 2005
@@ -5145,7 +5145,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;
}
@@ -5155,7 +5155,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;
}