aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-08-26 21:37:59 +0000
committermark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-08-26 21:37:59 +0000
commitce8d2156e88d943290dffff10b0e2c1244fab75b (patch)
tree5417ffca18c1db74897abf78f234c9bedb8dde92 /src/client/mac
parentFix CalculateStackSize to behave properly when the main thread's stack is (diff)
downloadbreakpad-ce8d2156e88d943290dffff10b0e2c1244fab75b.tar.xz
Add missing (parentehses.)
BUG=247, chromium:94107 TEST=Minidump file sizes should be manageable Review URL: http://breakpad.appspot.com/300002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@827 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac')
-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;
}