bug 486: patches for icc compilation.

This commit is contained in:
Timo Bingmann
2009-02-24 08:29:36 +01:00
parent fd8ba38a0e
commit eb8ca704b4
10 changed files with 22 additions and 22 deletions

View File

@@ -84,12 +84,12 @@ Queue::Dequeue (void)
if (packet != 0)
{
NS_ASSERT (m_nBytes >= packet->GetSize ());
NS_ASSERT (m_nPackets > 0);
m_nBytes -= packet->GetSize ();
m_nPackets--;
NS_ASSERT (m_nBytes >= 0);
NS_ASSERT (m_nPackets >= 0);
NS_LOG_LOGIC("m_traceDequeue (packet)");
m_traceDequeue (packet);