Bug 1571292 - -Wbool-operation: fix a warning (! instead of ~) r=gerald

Differential Revision: https://phabricator.services.mozilla.com/D40574

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Sylvestre Ledru 2019-08-04 22:00:40 +00:00
parent 97a8b6a8cd
commit a34ae8d650

View File

@ -330,7 +330,7 @@ class BlocksRingBuffer {
// Index past the end of this block, which is the start of the next block.
BlockIndex NextBlockIndex() const {
MOZ_ASSERT(~IsAtEnd());
MOZ_ASSERT(!IsAtEnd());
BufferReader reader = mRing->mBuffer.ReaderAt(Index(mBlockIndex));
Length entrySize = reader.ReadULEB128<Length>();
return BlockIndex(reader.CurrentIndex() + entrySize);