summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 43e98483089..bd027eb3d9d 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -880,9 +880,10 @@ static const char *inline_forbidden_reason;
static tree
inline_forbidden_p_1 (tree *nodep, int *walk_subtrees ATTRIBUTE_UNUSED,
- void *fn)
+ void *fnp)
{
tree node = *nodep;
+ tree fn = (tree) fnp;
tree t;
switch (TREE_CODE (node))