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

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

Issue 338840043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Patch updates for x64 build Created 6 years, 2 months 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
« no previous file with comments | « src/lte/model/lte-enb-mac.cc ('k') | src/lte/model/lte-enb-phy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
@@ -172,7 +172,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;
@@ -328,7 +328,7 @@
LteEnbNetDevice::SetCsgId (uint32_t csgId)
{
NS_LOG_FUNCTION (this << csgId);
- m_csgId = csgId;
+ m_csgId = static_cast<int16_t>(csgId);
UpdateConfig (); // propagate the change to RRC level
}
« no previous file with comments | « src/lte/model/lte-enb-mac.cc ('k') | src/lte/model/lte-enb-phy.h » ('j') | no next file with comments »

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