summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-03-06 15:42:53 -0500
committerGlenn Smith <glenn@vector35.com>2025-03-06 17:16:12 -0500
commit3113507260902721807936823520410048671513 (patch)
tree3ed54c5c50f79737373cfa02352e590c1f128e4d /python/lowlevelil.py
parent8981426467209612612216788736947718079657 (diff)
Python: Fix LLILFunction.add_label_map
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index 2324efa4..f6911048 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -5584,7 +5584,7 @@ class LowLevelILFunction:
:rtype: ExpressionIndex
"""
label_list = (ctypes.POINTER(core.BNLowLevelILLabel) * len(labels))()
- value_list = (ctypes.POINTER(ctypes.c_ulonglong) * len(labels))()
+ value_list = (ctypes.c_ulonglong * len(labels))()
for i, (key, value) in enumerate(labels.items()):
value_list[i] = key
label_list[i] = value.handle