Bug 926583 - Fix -Wbitwise-op-parentheses warning in nsZipHeader.cpp. r=dtownsend

This commit is contained in:
Chris Peterson 2013-10-11 17:49:51 -07:00
parent 63a42b0bd9
commit a9889b0ce1

View File

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