asan: Suppress a -Wbitwise-op-parentheses.

llvm-svn: 145647
This commit is contained in:
Daniel Dunbar 2011-12-01 23:35:51 +00:00
parent 6da8946202
commit 5dc7770bf7
1 changed files with 1 additions and 1 deletions

View File

@ -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;