aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/f-exp.y')
-rw-r--r--gdb/f-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-exp.y b/gdb/f-exp.y
index 6264108..1de7da2 100644
--- a/gdb/f-exp.y
+++ b/gdb/f-exp.y
@@ -618,7 +618,7 @@ exp : SIZEOF '(' type ')' %prec UNARY
$3 = check_typedef ($3);
pstate->push_new<long_const_operation>
(parse_f_type (pstate)->builtin_integer,
- TYPE_LENGTH ($3));
+ $3->length ());
}
;