* m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.

* p-valprint.c (pascal_type_print_base): Likewise.
This commit is contained in:
Siddhesh Poyarekar
2012-09-24 10:25:09 +00:00
parent b6b05ca274
commit b4aa388a20
3 changed files with 8 additions and 2 deletions

View File

@@ -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