summaryrefslogtreecommitdiffstats
path: root/media/cast/cast_sender_impl.cc
diff options
context:
space:
mode:
authorpwestin@google.com <pwestin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-21 21:07:41 +0000
committerpwestin@google.com <pwestin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-21 21:07:41 +0000
commitdc6097a75946a1d8ec46cd8fd4773fe5bf19af9f (patch)
tree0a9264850c9e534a2f626ee4dd6e2e2730cb56ca /media/cast/cast_sender_impl.cc
parent8499a19cfb4e254c5144af70056d41f9295e25ec (diff)
downloadchromium_src-dc6097a75946a1d8ec46cd8fd4773fe5bf19af9f.zip
chromium_src-dc6097a75946a1d8ec46cd8fd4773fe5bf19af9f.tar.gz
chromium_src-dc6097a75946a1d8ec46cd8fd4773fe5bf19af9f.tar.bz2
Cast: Cleaning up static_casts
Changed to use size_t through out the code to avoid static_casts. Also added a few DCHECKs in the locations where we really downcast to a smaller size. Review URL: https://codereview.chromium.org/26253007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/cast_sender_impl.cc')
-rw-r--r--media/cast/cast_sender_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/cast/cast_sender_impl.cc b/media/cast/cast_sender_impl.cc
index 6eedf72..cbf7a4d 100644
--- a/media/cast/cast_sender_impl.cc
+++ b/media/cast/cast_sender_impl.cc
@@ -119,7 +119,7 @@ class LocalCastSenderPacketReceiver : public PacketReceiver {
ssrc_of_video_sender_(ssrc_of_video_sender) {}
virtual void ReceivedPacket(const uint8* packet,
- int length,
+ size_t length,
const base::Closure callback) OVERRIDE {
if (!Rtcp::IsRtcpPacket(packet, length)) {
// We should have no incoming RTP packets.