fix wrong assertion. #398

This commit is contained in:
wang-bin
2015-03-20 10:38:56 +08:00
parent d13fbcb6ea
commit 505faeebb8
+1 -1
View File
@@ -82,7 +82,7 @@ qreal PacketBuffer::bufferMax() const
int PacketBuffer::buffered() const
{
Q_ASSERT(m_value1 > m_value0);
Q_ASSERT(m_value1 >= m_value0);
return m_value1 - m_value0;
}