Index: webrtc/test/rtcp_packet_parser.h |
diff --git a/webrtc/test/rtcp_packet_parser.h b/webrtc/test/rtcp_packet_parser.h |
index 163ea41317845071e8a008ef79c125dc2e04736d..ef1fab823d30198c50d1aaaef520118c4d105947 100644 |
--- a/webrtc/test/rtcp_packet_parser.h |
+++ b/webrtc/test/rtcp_packet_parser.h |
@@ -41,7 +41,7 @@ template <typename Packet> |
bool ParseSinglePacket(const uint8_t* buffer, size_t size, Packet* packet) { |
rtcp::CommonHeader header; |
RTC_CHECK(header.Parse(buffer, size)); |
- RTC_CHECK_EQ(static_cast<ptrdiff_t>(size), header.NextPacket() - buffer); |
+ RTC_CHECK_EQ(size, header.NextPacket() - buffer); |
return packet->Parse(header); |
} |
// Same function, but takes raw buffer as single argument instead of pair. |