summaryrefslogtreecommitdiff
path: root/gdb/p-typeprint.c
diff options
context:
space:
mode:
authorsiddhesh <siddhesh>2012-09-24 10:25:07 +0000
committersiddhesh <siddhesh>2012-09-24 10:25:07 +0000
commit9d7b360facd268fe0d068f662fbf181811e9fcb1 (patch)
treea21b1530f78f1ccc6bc4ee85ca9f899da568deb0 /gdb/p-typeprint.c
parentdc0147d2f341e73f1b76542d07a089c2f219363f (diff)
downloadgdb-9d7b360facd268fe0d068f662fbf181811e9fcb1.tar.gz
* m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
* p-valprint.c (pascal_type_print_base): Likewise.
Diffstat (limited to 'gdb/p-typeprint.c')
-rw-r--r--gdb/p-typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c
index fceb97a07ee..794d09c759c 100644
--- a/gdb/p-typeprint.c
+++ b/gdb/p-typeprint.c
@@ -440,7 +440,7 @@ pascal_type_print_base (struct type *type, struct ui_file *stream, int show,
{
int i;
int len;
- int lastval;
+ LONGEST lastval;
enum
{
s_none, s_public, s_private, s_protected