From 5dc7770bf7090dde6c79dc08e3b6187e4bdab5dc Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 1 Dec 2011 23:35:51 +0000 Subject: [PATCH] asan: Suppress a -Wbitwise-op-parentheses. llvm-svn: 145647 --- compiler-rt/lib/asan/mach_override/mach_override.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/asan/mach_override/mach_override.c b/compiler-rt/lib/asan/mach_override/mach_override.c index 342fefc27242..50a38d0609ee 100644 --- a/compiler-rt/lib/asan/mach_override/mach_override.c +++ b/compiler-rt/lib/asan/mach_override/mach_override.c @@ -401,7 +401,7 @@ allocateBranchIsland( if( !err ) { assert( sizeof( BranchIsland ) <= pageSize ); #if defined(__x86_64__) - vm_address_t first = (uint64_t)originalFunctionAddress & ~(uint64_t)(((uint64_t)1 << 31) - 1) | ((uint64_t)1 << 31); // start in the middle of the page? + vm_address_t first = ((uint64_t)originalFunctionAddress & ~(uint64_t)(((uint64_t)1 << 31) - 1)) | ((uint64_t)1 << 31); // start in the middle of the page? vm_address_t last = 0x0; #else vm_address_t first = 0xfeffffff;