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

Unified Diff: src/network/utils/error-channel.cc

Issue 339780043: 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
« no previous file with comments | « src/network/utils/data-rate.cc ('k') | src/network/utils/error-model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/network/utils/error-channel.cc
===================================================================
--- a/src/network/utils/error-channel.cc
+++ b/src/network/utils/error-channel.cc
@@ -138,7 +138,7 @@
uint32_t
ErrorChannel::GetNDevices (void) const
{
- return m_devices.size ();
+ return static_cast<uint32_t> (m_devices.size ());
}
Ptr<NetDevice>
« no previous file with comments | « src/network/utils/data-rate.cc ('k') | src/network/utils/error-model.cc » ('j') | no next file with comments »

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