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

13 lines
462 B
Plaintext
Raw Normal View History

$OpenBSD: patch-gcc_tree-mudflap_c,v 1.5 2009/04/16 18:36:48 espie Exp $
--- gcc/tree-mudflap.c.orig Sat Sep 1 17:28:30 2007
+++ gcc/tree-mudflap.c Tue Apr 7 19:38:59 2009
@@ -235,7 +235,7 @@ mf_file_function_line_tree (location_t location)
2006-07-31 09:50:53 +00:00
else
op = name = cp = "";
- string = concat (file, colon, line, op, name, cp, NULL);
+ string = concat (file, colon, line, op, name, cp, (void *)0);
result = mf_build_string (string);
free (string);