aboutsummaryrefslogtreecommitdiff
path: root/gcc/conflict.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/conflict.c')
-rw-r--r--gcc/conflict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/conflict.c b/gcc/conflict.c
index 43f7860820e..1ef6592d1c6 100644
--- a/gcc/conflict.c
+++ b/gcc/conflict.c
@@ -201,7 +201,7 @@ conflict_graph_add (conflict_graph graph, int reg1, int reg2)
/* Allocate an arc. */
arc
- = obstack_alloc (&graph->arc_obstack,
+ = (conflict_graph_arc) obstack_alloc (&graph->arc_obstack,
sizeof (struct conflict_graph_arc_def));
/* Record the reg numbers. */