diff options
Diffstat (limited to 'gdb/score-tdep.c')
-rw-r--r-- | gdb/score-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/score-tdep.c b/gdb/score-tdep.c index b4f00e46ad4..90cb0fa312a 100644 --- a/gdb/score-tdep.c +++ b/gdb/score-tdep.c @@ -480,7 +480,7 @@ score_type_needs_double_align (struct type *type) n = type->num_fields (); for (i = 0; i < n; i++) - if (score_type_needs_double_align (TYPE_FIELD_TYPE (type, i))) + if (score_type_needs_double_align (type->field (i).type ())) return 1; return 0; } |