diff options
author | siddhesh <siddhesh> | 2012-09-24 10:25:07 +0000 |
---|---|---|
committer | siddhesh <siddhesh> | 2012-09-24 10:25:07 +0000 |
commit | 9d7b360facd268fe0d068f662fbf181811e9fcb1 (patch) | |
tree | a21b1530f78f1ccc6bc4ee85ca9f899da568deb0 /gdb/m2-typeprint.c | |
parent | dc0147d2f341e73f1b76542d07a089c2f219363f (diff) | |
download | gdb-9d7b360facd268fe0d068f662fbf181811e9fcb1.tar.gz |
* m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
* p-valprint.c (pascal_type_print_base): Likewise.
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) { |