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