summaryrefslogtreecommitdiff
path: root/python/debuginfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/debuginfo.py')
-rw-r--r--python/debuginfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/debuginfo.py b/python/debuginfo.py
index 6e179ab8..d95657c6 100644
--- a/python/debuginfo.py
+++ b/python/debuginfo.py
@@ -325,7 +325,7 @@ class DebugInfo(object):
for i in range(0, count.value):
if functions[i].type:
- function_type = _types.Type(core.BNNewTypeReference(functions[i].type))
+ function_type = _types.Type.create(core.BNNewTypeReference(functions[i].type))
else:
function_type = None