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