summaryrefslogtreecommitdiff
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 144e17f318c..94494f0891c 100644
--- a/gdb/f-exp.y
+++ b/gdb/f-exp.y
@@ -487,7 +487,7 @@ exp : SIZEOF '(' type ')' %prec UNARY
write_exp_elt_type (pstate,
parse_f_type (pstate)
->builtin_integer);
- CHECK_TYPEDEF ($3);
+ $3 = check_typedef ($3);
write_exp_elt_longcst (pstate,
(LONGEST) TYPE_LENGTH ($3));
write_exp_elt_opcode (pstate, OP_LONG); }