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

Unified Diff: media/cast/net/rtcp/rtcp_builder_unittest.cc

Issue 1488893003: Fix size_t truncations in media for 64-bit VS 2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | media/cast/net/rtp/packet_storage_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtcp/rtcp_builder_unittest.cc
diff --git a/media/cast/net/rtcp/rtcp_builder_unittest.cc b/media/cast/net/rtcp/rtcp_builder_unittest.cc
index 6bd9d0581221498358f5e09ac3dda707b391e2a1..faf34551c6786bb5c418e5ae41adc5694569c01e 100644
--- a/media/cast/net/rtcp/rtcp_builder_unittest.cc
+++ b/media/cast/net/rtcp/rtcp_builder_unittest.cc
@@ -413,8 +413,9 @@ TEST_F(RtcpBuilderTest, RtcpReceiverReportRedundancy) {
time_base_ms - (num_events - 1) * kResendDelay *
kTimeBetweenEventsMs);
for (int i = 0; i < num_events; i++) {
- p.AddReceiverEventLog(0, FRAME_ACK_SENT,
- i * kResendDelay * kTimeBetweenEventsMs);
+ p.AddReceiverEventLog(
+ 0, FRAME_ACK_SENT,
+ base::checked_cast<uint16>(i * kResendDelay * kTimeBetweenEventsMs));
}
FrameEvent frame_event;
« no previous file with comments | « no previous file | media/cast/net/rtp/packet_storage_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698