Index: src/lte/model/lte-enb-net-device.cc |
=================================================================== |
--- a/src/lte/model/lte-enb-net-device.cc |
+++ b/src/lte/model/lte-enb-net-device.cc |
@@ -173,7 +173,7 @@ |
m_componentCarrierManager = 0; |
// ComponentCarrierEnb::DoDispose() will call DoDispose |
// of its PHY, MAC, FFR and scheduler instance |
- for (uint32_t i = 0; i < m_ccMap.size (); i++) |
+ for (uint8_t i = 0; i < m_ccMap.size (); i++) |
{ |
m_ccMap.at (i)->Dispose (); |
m_ccMap.at (i) = 0; |
@@ -329,7 +329,7 @@ |
LteEnbNetDevice::SetCsgId (uint32_t csgId) |
Biljana Bojović
2018/08/22 11:35:28
We should change input parameter to uint16_t
|
{ |
NS_LOG_FUNCTION (this << csgId); |
- m_csgId = csgId; |
+ m_csgId = static_cast<int16_t>(csgId); |
UpdateConfig (); // propagate the change to RRC level |
} |