13
0

Fix compiler warning

This commit is contained in:
Robin Gareus 2019-11-03 04:11:43 +01:00
parent f9131d24d3
commit ba8e5aea56
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -384,7 +384,7 @@ DelayLine::allocate_pending_buffers (samplecnt_t signal_delay, ChanCount const&
} }
assert (signal_delay >= _pending_delay); assert (signal_delay >= _pending_delay);
assert ((_roff <= (_woff + signal_delay - _pending_delay) & (rbs -1)) || offset > 0); assert ((_roff <= ((_woff + signal_delay - _pending_delay) & (rbs -1))) || offset > 0);
_roff += offset; _roff += offset;
assert (_roff < rbs); assert (_roff < rbs);