summaryrefslogtreecommitdiff
path: root/gcc/ra.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ra.h')
-rw-r--r--gcc/ra.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ra.h b/gcc/ra.h
index c7e12a7b0c5..bd419522394 100644
--- a/gcc/ra.h
+++ b/gcc/ra.h
@@ -144,7 +144,7 @@ add_neighbor (int alloc_no, int neighbor)
if (adjlist == NULL || adjlist->index == ADJACENCY_VEC_LENGTH)
{
- adjacency_t *new = pool_alloc (adjacency_pool);
+ adjacency_t *new = (adjacency_t *) pool_alloc (adjacency_pool);
new->index = 0;
new->next = adjlist;
adjlist = new;