aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/mac/handler/minidump_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mac/handler/minidump_generator.cc b/src/client/mac/handler/minidump_generator.cc
index a7680c21..a37e73c5 100644
--- a/src/client/mac/handler/minidump_generator.cc
+++ b/src/client/mac/handler/minidump_generator.cc
@@ -285,7 +285,7 @@ size_t MinidumpGenerator::CalculateStackSize(mach_vm_address_t start_addr) {
if (result != KERN_SUCCESS ||
next_region_base != proposed_next_region_base ||
submap_info.user_tag != tag ||
- submap_info.protection & VM_PROT_READ == 0) {
+ (submap_info.protection & VM_PROT_READ) == 0) {
break;
}