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

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

Issue 25546003: Revert 226264 "Be able to build cast_unittest and related target..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
Index: trunk/src/media/cast/rtcp/test_rtcp_packet_builder.cc
===================================================================
--- trunk/src/media/cast/rtcp/test_rtcp_packet_builder.cc (revision 226266)
+++ trunk/src/media/cast/rtcp/test_rtcp_packet_builder.cc (working copy)
@@ -45,8 +45,7 @@
AddRtcpHeader(202, 1);
big_endian_writer_.WriteU32(sender_ssrc);
big_endian_writer_.WriteU8(1); // c_name.
- big_endian_writer_.WriteU8(
- static_cast<uint8>(c_name.size())); // c_name length in bytes.
+ big_endian_writer_.WriteU8(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 | « trunk/src/media/cast/rtcp/test_rtcp_packet_builder.h ('k') | trunk/src/media/cast/rtp_common/mock_rtp_payload_feedback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698