From dc6097a75946a1d8ec46cd8fd4773fe5bf19af9f Mon Sep 17 00:00:00 2001 From: "pwestin@google.com" Date: Mon, 21 Oct 2013 21:07:41 +0000 Subject: 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 --- media/cast/cast_sender_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/cast/cast_sender_impl.cc') 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. -- cgit v1.1