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(address) && (-systemPageSize); + reinterpret_cast(address) & (-systemPageSize); mach_vm_address_t last_page_address = (reinterpret_cast(address) + length +