diff options
Diffstat (limited to 'gcc/tree-browser.c')
-rw-r--r-- | gcc/tree-browser.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree-browser.c b/gcc/tree-browser.c index 51f8200f313..354757000c4 100644 --- a/gcc/tree-browser.c +++ b/gcc/tree-browser.c @@ -751,9 +751,8 @@ store_child_info (tree *tp, int *walk_subtrees ATTRIBUTE_UNUSED, static int TB_parent_eq (const void *p1, const void *p2) { - tree node, parent; - node = (tree) p2; - parent = (tree) p1; + const_tree node = (const_tree)p2; + tree parent = (tree) p1; if (p1 == NULL || p2 == NULL) return 0; |