mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 17:55:47 -04:00
Common/FIFOQueue: Fix incorrect assertion failure in debug builds
This commit is contained in:
@ -151,7 +151,7 @@ public:
|
||||
|
||||
void AdvanceTail(u32 count)
|
||||
{
|
||||
DebugAssert((m_size + count) < CAPACITY);
|
||||
DebugAssert((m_size + count) <= CAPACITY);
|
||||
DebugAssert((m_tail + count) <= CAPACITY);
|
||||
m_tail = (m_tail + count) % CAPACITY;
|
||||
m_size += count;
|
||||
|
Reference in New Issue
Block a user