summaryrefslogtreecommitdiff
path: root/src/generic
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic')
-rw-r--r--src/generic/dumb_ptr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic/dumb_ptr.py b/src/generic/dumb_ptr.py
index b7973a7..c31b1e7 100644
--- a/src/generic/dumb_ptr.py
+++ b/src/generic/dumb_ptr.py
@@ -7,7 +7,7 @@ class dumb_ptr(object):
self._value = value
def to_string(self):
- return '0x%x' % long(self._value['impl'].cast(gdb.parse_and_eval('(long *)0').type))
+ return '0x%x' % int(self._value['impl'].cast(gdb.parse_and_eval('(long *)0').type))
def children(self):
try: