aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r--gdb/m2-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index d3e917b..566266f 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -480,7 +480,7 @@ exp : SIZE '(' type ')' %prec UNARY
{
pstate->push_new<long_const_operation>
(parse_m2_type (pstate)->builtin_int,
- TYPE_LENGTH ($3));
+ $3->length ());
}
;