diff options
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 2a7ea38..104df47 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -2770,7 +2770,7 @@ read_struct_type (pp, type, objfile) } else for (i = TYPE_NFIELDS (t) - 1; i >= TYPE_N_BASECLASSES (t); --i) if (! strncmp (TYPE_FIELD_NAME (t, i), vptr_name, - sizeof (vptr_name) -1)) + sizeof (vptr_name) - 1)) { TYPE_VPTR_FIELDNO (type) = i; break; |