зеркало из https://github.com/mozilla/gecko-dev.git
Bug 543497, Patch A: Fix "warning: suggest parentheses around comparison in operand of &" in nsBinHexDecoder.cpp. r=jduell
This commit is contained in:
Родитель
8b2f9b062c
Коммит
1035788e91
|
@ -204,7 +204,7 @@ nsresult nsBinHexDecoder::ProcessNextState(nsIRequest * aRequest, nsISupports *
|
|||
// c & 63 returns the length of mName. So if we need the length, that's how
|
||||
// you can figure it out....
|
||||
mName.SetLength(c & 63);
|
||||
if (mName.Length() != c & 63) {
|
||||
if (mName.Length() != (c & 63)) {
|
||||
/* XXX ProcessNextState/ProcessNextChunk aren't rv checked */
|
||||
mState = BINHEX_STATE_DONE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче