aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-xmethods.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-xmethods.c')
-rw-r--r--gdb/python/py-xmethods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-xmethods.c b/gdb/python/py-xmethods.c
index d223d49..0b41dae 100644
--- a/gdb/python/py-xmethods.c
+++ b/gdb/python/py-xmethods.c
@@ -435,7 +435,7 @@ python_xmethod_worker::do_get_result_type (value *obj,
else if (TYPE_IS_REFERENCE (obj_type))
{
struct type *this_ref
- = lookup_reference_type (this_type, obj_type->code ());
+ = lookup_reference_type (this_type, obj_type->code ());
if (!types_equal (obj_type, this_ref))
obj = value_cast (this_ref, obj);