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 98ebeb2..b4f00e4 100644 --- a/gdb/score-tdep.c +++ b/gdb/score-tdep.c @@ -478,7 +478,7 @@ score_type_needs_double_align (struct type *type) { int i, n; - n = TYPE_NFIELDS (type); + n = type->num_fields (); for (i = 0; i < n; i++) if (score_type_needs_double_align (TYPE_FIELD_TYPE (type, i))) return 1; |