--- a/src/lte/model/lte-radio-bearer-tag.cc Mon Feb 27 16:08:22 2012 +0100
+++ b/src/lte/model/lte-radio-bearer-tag.cc Mon Mar 05 11:40:36 2012 +0100
@@ -109,7 +109,7 @@
void
LteRadioBearerTag::Print (std::ostream &os) const
{
- os << "rnti=" << m_rnti << ", lcid=" << m_lcid;
+ os << "rnti=" << m_rnti << ", lcid=" << (uint16_t) m_lcid;
}
} // namespace ns3
--- a/src/lte/model/lte-rlc-um.cc Mon Feb 27 16:08:22 2012 +0100
+++ b/src/lte/model/lte-rlc-um.cc Mon Mar 05 11:40:36 2012 +0100
@@ -382,7 +382,7 @@
{
delay = Simulator::Now() - rlcTag.GetSenderTimestamp ();
}
- m_rxPdu(m_rnti, m_lcid, p->GetSize (), delay.GetNanoSeconds ());
+ m_rxPdu (m_rnti, m_lcid, p->GetSize (), delay.GetNanoSeconds ());
// 5.1.2.2 Receive operations
--- a/src/lte/model/lte-ue-mac.cc Mon Feb 27 16:08:22 2012 +0100
+++ b/src/lte/model/lte-ue-mac.cc Mon Mar 05 11:40:36 2012 +0100
@@ -314,7 +314,7 @@
void
LteUeMac::DoAddLc (uint8_t lcId, LteMacSapUser* msu)
{
- NS_LOG_FUNCTION (this << " lcId" << lcId);
+ NS_LOG_FUNCTION (this << " lcId" << (uint16_t) lcId);
NS_ASSERT_MSG (m_macSapUserMap.find (lcId) == m_macSapUserMap.end (), "cannot add channel because LCID " << lcId << " is already present");
m_macSapUserMap[lcId] = msu;
}