aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r--gcc/langhooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c
index cad54fc35b7..4d8a8896e71 100644
--- a/gcc/langhooks.c
+++ b/gcc/langhooks.c
@@ -284,7 +284,7 @@ lhd_tree_dump_dump_tree (void *di ATTRIBUTE_UNUSED, tree t ATTRIBUTE_UNUSED)
int
lhd_tree_dump_type_quals (const_tree t)
{
- return TYPE_QUALS (t);
+ return TYPE_QUALS (CONST_CAST_TREE (t));
}
/* lang_hooks.expr_size: Determine the size of the value of an expression T