fix warning about signed/unsigned comparison

This commit is contained in:
Tom Henderson
2015-05-04 22:30:02 -07:00
parent 90784f5eef
commit bfacdf5413

View File

@@ -1998,7 +1998,7 @@ MacLow::SendDataAfterCts (Mac48Address source, Time duration, WifiMode txMode)
if (m_aggregateQueue->GetSize () != 0)
{
for(int i = 0; i < m_txPackets.size(); i++)
for (std::vector<Item>::size_type i = 0; i != m_txPackets.size(); i++)
{
uint8_t tid = GetTid (m_txPackets.at(i).packet, m_txPackets.at(i).hdr);
AcIndex ac = QosUtilsMapTidToAc (tid);