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

Unified Diff: src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc

Issue 336140043: 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
Index: src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc
===================================================================
--- a/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc
+++ b/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc
@@ -168,7 +168,7 @@
// receive at the packet sink so that we can shortly test that this
// is plausible.
uint32_t totalOctetsThrough =
- DynamicCast<PacketSink>(sinkApp.Get (0))->GetTotalRx ();
+ static_cast<uint32_t> (DynamicCast<PacketSink>(sinkApp.Get (0))->GetTotalRx ());
// Check that throughput was acceptable. This threshold is set based
// on inspection of a trace where things are working. Basically, we
« no previous file with comments | « src/test/ns3wifi/wifi-interference-test-suite.cc ('k') | src/test/traced/traced-callback-typedef-test-suite.cc » ('j') | no next file with comments »

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