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; |
} |