Skip to content

Commit 8e1dbda

Browse files
committed
Python: Fix MLIL add_label_map
1 parent 8560955 commit 8e1dbda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/mediumlevelil.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5292,8 +5292,8 @@ def add_label_map(self, labels: Mapping[int, MediumLevelILLabel]) -> ExpressionI
52925292
:return: the label list expression
52935293
:rtype: ExpressionIndex
52945294
"""
5295-
label_list = (ctypes.POINTER(core.BNMediumLevelILLabel) * len(labels))() # type: ignore
5296-
value_list = (ctypes.POINTER(ctypes.c_ulonglong) * len(labels))() # type: ignore
5295+
label_list = (ctypes.POINTER(core.BNMediumLevelILLabel) * len(labels))()
5296+
value_list = (ctypes.c_ulonglong * len(labels))()
52975297
for i, (key, value) in enumerate(labels.items()):
52985298
value_list[i] = key
52995299
label_list[i] = value.handle

0 commit comments

Comments
 (0)