summaryrefslogtreecommitdiff
path: root/lang/gcc27/files/patch-ptree.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc27/files/patch-ptree.c')
-rw-r--r--lang/gcc27/files/patch-ptree.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/gcc27/files/patch-ptree.c b/lang/gcc27/files/patch-ptree.c
new file mode 100644
index 000000000000..61733517bfe2
--- /dev/null
+++ b/lang/gcc27/files/patch-ptree.c
@@ -0,0 +1,23 @@
+--- cp/ptree.c.orig Wed Jun 28 13:38:11 1995
++++ cp/ptree.c Mon Mar 20 13:29:12 2000
+@@ -46,17 +46,17 @@
+ if (DECL_MAIN_VARIANT (node))
+ {
+ fprintf (file, " decl-main-variant ");
+- fprintf (file, HOST_PTR_PRINTF, DECL_MAIN_VARIANT (node));
++ fprintf (file, HOST_PTR_PRINTF, (void *) DECL_MAIN_VARIANT (node));
+ }
+ if (DECL_PENDING_INLINE_INFO (node))
+ {
+ fprintf (file, " pending-inline-info ");
+- fprintf (file, HOST_PTR_PRINTF, DECL_PENDING_INLINE_INFO (node));
++ fprintf (file, HOST_PTR_PRINTF, (void *) DECL_PENDING_INLINE_INFO (node));
+ }
+ if (DECL_TEMPLATE_INFO (node))
+ {
+ fprintf (file, " template-info ");
+- fprintf (file, HOST_PTR_PRINTF, DECL_TEMPLATE_INFO (node));
++ fprintf (file, HOST_PTR_PRINTF, (void *) DECL_TEMPLATE_INFO (node));
+ }
+ }
+