diff options
Diffstat (limited to 'gdb/p-valprint.c')
-rw-r--r-- | gdb/p-valprint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c index 120035a..4c307de 100644 --- a/gdb/p-valprint.c +++ b/gdb/p-valprint.c @@ -535,7 +535,8 @@ pascal_object_print_value_fields (struct type *type, const gdb_byte *valaddr, int dont_print_statmem) { int i, len, n_baseclasses; - char *last_dont_print = obstack_next_free (&dont_print_statmem_obstack); + char *last_dont_print + = (char *) obstack_next_free (&dont_print_statmem_obstack); type = check_typedef (type); |