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

Unified Diff: src/internet-apps/model/radvd-interface.cc

Issue 337960043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Update patch per coding style requirements 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/internet-apps/model/radvd.cc ('k') | src/internet-apps/model/v4ping.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/internet-apps/model/radvd-interface.cc
===================================================================
--- a/src/internet-apps/model/radvd-interface.cc
+++ b/src/internet-apps/model/radvd-interface.cc
@@ -233,7 +233,7 @@
uint8_t RadvdInterface::GetCurHopLimit () const
{
NS_LOG_FUNCTION (this);
- return m_curHopLimit;
+ return static_cast<uint8_t> (m_curHopLimit);
}
void RadvdInterface::SetCurHopLimit (uint8_t curHopLimit)
« no previous file with comments | « src/internet-apps/model/radvd.cc ('k') | src/internet-apps/model/v4ping.cc » ('j') | no next file with comments »

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