Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Unified Diff: webrtc/video_engine/report_block_stats.cc

Issue 1184443005: Remove implicit-int-conversion warnings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: size_t j Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video_engine/overuse_frame_detector.cc ('k') | webrtc/video_engine/video_engine_core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_engine/report_block_stats.cc
diff --git a/webrtc/video_engine/report_block_stats.cc b/webrtc/video_engine/report_block_stats.cc
index ea18e830e32601014a91d9b7b267ca594712917a..6df62882d8c644c29bcde5392af5d315a38b3798 100644
--- a/webrtc/video_engine/report_block_stats.cc
+++ b/webrtc/video_engine/report_block_stats.cc
@@ -70,8 +70,8 @@ RTCPReportBlock ReportBlockStats::AggregateAndStore(
// Fraction lost since previous report block.
aggregate.fractionLost =
FractionLost(num_lost_sequence_numbers, num_sequence_numbers);
- aggregate.jitter =
- (aggregate.jitter + report_blocks.size() / 2) / report_blocks.size();
+ aggregate.jitter = static_cast<uint32_t>(
+ (aggregate.jitter + report_blocks.size() / 2) / report_blocks.size());
return aggregate;
}
« no previous file with comments | « webrtc/video_engine/overuse_frame_detector.cc ('k') | webrtc/video_engine/video_engine_core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698