diff options
Diffstat (limited to 'gdb/m2-typeprint.c')
-rw-r--r-- | gdb/m2-typeprint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/m2-typeprint.c b/gdb/m2-typeprint.c index fb3d49c6de1..c735eb79d99 100644 --- a/gdb/m2-typeprint.c +++ b/gdb/m2-typeprint.c @@ -587,7 +587,8 @@ m2_record_fields (struct type *type, struct ui_file *stream, int show, void m2_enum (struct type *type, struct ui_file *stream, int show, int level) { - int lastval, i, len; + LONGEST lastval; + int i, len; if (show < 0) { |