Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(720)

Unified Diff: src/lte/model/lte-enb-net-device.cc

Issue 338840043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Update patch with latest module changes. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b