summaryrefslogtreecommitdiff
path: root/python/mediumlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mediumlevelil.py')
-rw-r--r--python/mediumlevelil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py
index 173ec694..95cc72ab 100644
--- a/python/mediumlevelil.py
+++ b/python/mediumlevelil.py
@@ -5292,8 +5292,8 @@ class MediumLevelILFunction:
:return: the label list expression
:rtype: ExpressionIndex
"""
- label_list = (ctypes.POINTER(core.BNMediumLevelILLabel) * len(labels))() # type: ignore
- value_list = (ctypes.POINTER(ctypes.c_ulonglong) * len(labels))() # type: ignore
+ label_list = (ctypes.POINTER(core.BNMediumLevelILLabel) * 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