openbsd-ports/lang/gcc/4.2/patches/patch-gcc_tree-nested_c

13 lines
430 B
Plaintext
Raw Normal View History

$OpenBSD: patch-gcc_tree-nested_c,v 1.6 2009/04/16 18:36:48 espie Exp $
--- gcc/tree-nested.c.orig Sat Sep 1 17:28:30 2007
+++ gcc/tree-nested.c Tue Apr 7 19:38:59 2009
@@ -221,7 +221,7 @@ get_frame_type (struct nesting_info *info)
2006-07-31 05:50:53 -04:00
name = concat ("FRAME.",
IDENTIFIER_POINTER (DECL_NAME (info->context)),
- NULL);
+ (void *)0);
TYPE_NAME (type) = get_identifier (name);
free (name);