diff options
Diffstat (limited to 'src/client/mac')
-rw-r--r-- | src/client/mac/handler/dynamic_images.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mac/handler/dynamic_images.cc b/src/client/mac/handler/dynamic_images.cc index b8a6f6c5..0d63d5a7 100644 --- a/src/client/mac/handler/dynamic_images.cc +++ b/src/client/mac/handler/dynamic_images.cc @@ -145,7 +145,7 @@ void* ReadTaskMemory(task_port_t target_task, // use the negative of the page size for the mask to find the page address mach_vm_address_t page_address = - reinterpret_cast<mach_vm_address_t>(address) && (-systemPageSize); + reinterpret_cast<mach_vm_address_t>(address) & (-systemPageSize); mach_vm_address_t last_page_address = (reinterpret_cast<mach_vm_address_t>(address) + length + |