diff options
Diffstat (limited to 'gdb/python/py-value.c')
-rw-r--r-- | gdb/python/py-value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 2d9e77a..504a9de 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -1733,7 +1733,7 @@ valpy_long (PyObject *self) if (type->is_unsigned ()) return gdb_py_long_from_ulongest (l); else - return gdb_py_long_from_longest (l); + return gdb_py_object_from_longest (l).release (); } /* Implements conversion to float. */ |