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

Unified Diff: src/wave/model/vsa-manager.cc

Issue 337010043: 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/wave/model/vendor-specific-action.cc ('k') | src/wave/model/wave-mac-low.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wave/model/vsa-manager.cc
===================================================================
--- a/src/wave/model/vsa-manager.cc
+++ b/src/wave/model/vsa-manager.cc
@@ -178,7 +178,7 @@
WifiTxVector txVector;
txVector.SetChannelWidth (10);
- txVector.SetTxPowerLevel (manager->GetManagementPowerLevel (channel));
+ txVector.SetTxPowerLevel (static_cast<uint8_t> (manager->GetManagementPowerLevel (channel)));
txVector.SetMode (manager->GetManagementDataRate (channel));
txVector.SetPreambleType (manager->GetManagementPreamble (channel));
HigherLayerTxVectorTag tag = HigherLayerTxVectorTag (txVector, manager->GetManagementAdaptable (channel));
« no previous file with comments | « src/wave/model/vendor-specific-action.cc ('k') | src/wave/model/wave-mac-low.h » ('j') | no next file with comments »

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