diff options
Diffstat (limited to 'gdb/go-valprint.c')
-rw-r--r-- | gdb/go-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/go-valprint.c b/gdb/go-valprint.c index fe2ee46..1933e98 100644 --- a/gdb/go-valprint.c +++ b/gdb/go-valprint.c @@ -92,7 +92,7 @@ go_value_print_inner (struct value *val, struct ui_file *stream, { struct type *type = check_typedef (value_type (val)); - switch (TYPE_CODE (type)) + switch (type->code ()) { case TYPE_CODE_STRUCT: { |