* python/python.c (gdbpy_solib_name): Use gdb_py_longest and
[deliverable/binutils-gdb.git] / gdb / python / py-lazy-string.c
index 3863bb11ec7d63d92e1114ea17640d47a000688f..940ce88cf5996ad5c54d78856f0b35277c1c7f98 100644 (file)
@@ -54,7 +54,7 @@ stpy_get_address (PyObject *self, void *closure)
 {
   lazy_string_object *self_string = (lazy_string_object *) self;
 
-  return PyLong_FromUnsignedLongLong (self_string->address);
+  return gdb_py_long_from_ulongest (self_string->address);
 }
 
 static PyObject *
This page took 0.024229 seconds and 4 git commands to generate.