* m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
* p-valprint.c (pascal_type_print_base): Likewise.
This commit is contained in:
parent
b6b05ca274
commit
b4aa388a20
@ -1,3 +1,8 @@
|
||||
2012-09-24 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
|
||||
* p-valprint.c (pascal_type_print_base): Likewise.
|
||||
|
||||
2012-09-22 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* remote.c (remote_get_trace_status): Remove setting default
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user