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

Unified Diff: media/cast/rtcp/test_rtcp_packet_builder.cc

Issue 25544003: Fix code style and gyp files in cast to build cast_unittest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed gyp files Created 7 years, 3 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 | « media/cast/rtcp/test_rtcp_packet_builder.h ('k') | media/cast/rtp_common/mock_rtp_payload_feedback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/rtcp/test_rtcp_packet_builder.cc
diff --git a/media/cast/rtcp/test_rtcp_packet_builder.cc b/media/cast/rtcp/test_rtcp_packet_builder.cc
index d6468e53a4eba569a7710c8cc7322fb0d42682b3..c3938bdda09ebfb13e7282748941f77493c17c87 100644
--- a/media/cast/rtcp/test_rtcp_packet_builder.cc
+++ b/media/cast/rtcp/test_rtcp_packet_builder.cc
@@ -45,7 +45,8 @@ void TestRtcpPacketBuilder::AddSdesCname(uint32 sender_ssrc,
AddRtcpHeader(202, 1);
big_endian_writer_.WriteU32(sender_ssrc);
big_endian_writer_.WriteU8(1); // c_name.
- big_endian_writer_.WriteU8(c_name.size()); // c_name length in bytes.
+ big_endian_writer_.WriteU8(
+ static_cast<uint8>(c_name.size())); // c_name length in bytes.
for (size_t i = 0; i < c_name.size(); ++i) {
big_endian_writer_.WriteU8(c_name.c_str()[i]);
}
« no previous file with comments | « media/cast/rtcp/test_rtcp_packet_builder.h ('k') | media/cast/rtp_common/mock_rtp_payload_feedback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698