summaryrefslogtreecommitdiff
path: root/gcc/tree-outof-ssa.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-outof-ssa.c')
-rw-r--r--gcc/tree-outof-ssa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c
index a60b100f1b6..40c1d3f9c3b 100644
--- a/gcc/tree-outof-ssa.c
+++ b/gcc/tree-outof-ssa.c
@@ -881,7 +881,7 @@ contains_tree_r (tree * tp, int *walk_subtrees, void *data)
if (*tp == data)
{
*walk_subtrees = 0;
- return data;
+ return (tree) data;
}
else
return NULL_TREE;