mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 926583 - Fix -Wbitwise-op-parentheses warning in nsZipHeader.cpp. r=dtownsend
This commit is contained in:
parent
63a42b0bd9
commit
a9889b0ce1
@ -133,7 +133,7 @@ NS_IMETHODIMP nsZipHeader::GetPermissions(uint32_t *aPermissions)
|
||||
NS_ASSERTION(mInited, "Not initalised");
|
||||
|
||||
// Always give user read access at least, this matches nsIZipReader's behaviour
|
||||
*aPermissions = ((mEAttr >> 16) & 0xfff | 0x100);
|
||||
*aPermissions = ((mEAttr >> 16) & 0xfff) | 0x100;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user