summaryrefslogtreecommitdiff
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index 56104b1b700..27ce86d7d6e 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -78,7 +78,8 @@ static inline tree
first_referenced_var (referenced_var_iterator *iter)
{
struct int_tree_map *itm;
- itm = first_htab_element (&iter->hti, referenced_vars);
+ itm = (struct int_tree_map *) first_htab_element (&iter->hti,
+ referenced_vars);
if (!itm)
return NULL;
return itm->to;
@@ -100,7 +101,7 @@ static inline tree
next_referenced_var (referenced_var_iterator *iter)
{
struct int_tree_map *itm;
- itm = next_htab_element (&iter->hti);
+ itm = (struct int_tree_map *) next_htab_element (&iter->hti);
if (!itm)
return NULL;
return itm->to;