aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-type-escape.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-type-escape.c')
-rw-r--r--gcc/ipa-type-escape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-type-escape.c b/gcc/ipa-type-escape.c
index b2ee148268e..0e93ad4db4e 100644
--- a/gcc/ipa-type-escape.c
+++ b/gcc/ipa-type-escape.c
@@ -1173,7 +1173,7 @@ okay_pointer_operation (enum tree_code code, tree op0, tree op1)
static tree
scan_for_refs (tree *tp, int *walk_subtrees, void *data)
{
- struct cgraph_node *fn = data;
+ struct cgraph_node *fn = (struct cgraph_node *) data;
tree t = *tp;
switch (TREE_CODE (t))