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

Unified Diff: src/internet/test/tcp-scalable-test.cc

Issue 337950043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Update patch for 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/internet/test/tcp-rtt-estimation.cc ('k') | src/internet/test/tcp-slow-start-test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/internet/test/tcp-scalable-test.cc
===================================================================
--- a/src/internet/test/tcp-scalable-test.cc
+++ b/src/internet/test/tcp-scalable-test.cc
@@ -156,7 +156,7 @@
double b = 1.0 - mdFactor.Get ();
- uint32_t ssThresh = std::max (2.0, segCwnd * b);
+ uint32_t ssThresh = static_cast<uint32_t> (std::max (2.0, segCwnd * b));
uint32_t ssThreshInSegments = cong->GetSsThresh (m_state, m_state->m_cWnd) / m_segmentSize;
« no previous file with comments | « src/internet/test/tcp-rtt-estimation.cc ('k') | src/internet/test/tcp-slow-start-test.cc » ('j') | no next file with comments »

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