summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index add0d02a..0e050bba 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -5221,7 +5221,7 @@ class BinaryView:
"""
if length is None:
return [ModificationStatus(core.BNGetModification(self.handle, addr))]
- data = (ctypes.c_int * length)()
+ data = (ctypes.c_ubyte * length)()
length = core.BNGetModificationArray(self.handle, addr, data, length)
return [ModificationStatus(a) for a in data[:length]]