about summary refs log tree commit diff stats
path: root/example/jitter/memstruct.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/jitter/memstruct.py')
-rw-r--r--example/jitter/memstruct.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/jitter/memstruct.py b/example/jitter/memstruct.py
index f2e9f8dc..775b3643 100644
--- a/example/jitter/memstruct.py
+++ b/example/jitter/memstruct.py
@@ -184,7 +184,7 @@ assert link.size == 2
 # Make the Array Ptr point to the data's array field
 data.arrayptr = data.get_addr("array")
 # Now the pointer dereference is equal to the array field's value
-assert data.deref_arrayptr == data.array
+assert data.deref_arrayptr.value == data.array
 
 # Let's say that it is a DataStr:
 datastr = data.cast(DataStr)