aboutsummaryrefslogtreecommitdiff
path: root/gdb/typeprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/typeprint.c')
-rw-r--r--gdb/typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/typeprint.c b/gdb/typeprint.c
index 1de223a..f7a2eba 100644
--- a/gdb/typeprint.c
+++ b/gdb/typeprint.c
@@ -260,7 +260,7 @@ typedef_hash_table::add_template_parameters (struct type *t)
tf = XOBNEW (&m_storage, struct decl_field);
tf->name = TYPE_TEMPLATE_ARGUMENT (t, i)->linkage_name ();
- tf->type = SYMBOL_TYPE (TYPE_TEMPLATE_ARGUMENT (t, i));
+ tf->type = TYPE_TEMPLATE_ARGUMENT (t, i)->type ();
slot = htab_find_slot (m_table.get (), tf, INSERT);
if (*slot == NULL)