aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-typeprint.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2012-09-24 10:25:09 +0000
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2012-09-24 10:25:09 +0000
commitb4aa388a2099d88f1d521a79bdfabb0501a03f1a (patch)
tree08bede6db2aa03df3989f16af4345ebdffaf1f87 /gdb/p-typeprint.c
parentb6b05ca2740cb638a0465f9c07b71a731026e40c (diff)
downloadfsf-binutils-gdb-b4aa388a2099d88f1d521a79bdfabb0501a03f1a.zip
fsf-binutils-gdb-b4aa388a2099d88f1d521a79bdfabb0501a03f1a.tar.gz
fsf-binutils-gdb-b4aa388a2099d88f1d521a79bdfabb0501a03f1a.tar.bz2
* 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 fceb97a..794d09c 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