diff --git a/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc b/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc index 80936795a4..d8e139c670 100644 --- a/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc +++ b/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc @@ -176,7 +176,7 @@ int HandleCommandLineFlags(webrtc::test::TestConfig* config) { if (FLAGS_output_filename.empty()) { // Cut out the filename without extension from the given input file // (which may include a path) - int startIndex = FLAGS_input_filename.find_last_of("/") + 1; + size_t startIndex = FLAGS_input_filename.find_last_of("/") + 1; if (startIndex == 0) { startIndex = 0; } diff --git a/webrtc/video/replay.cc b/webrtc/video/replay.cc index 3bfdf92cd3..6f4ce678f0 100644 --- a/webrtc/video/replay.cc +++ b/webrtc/video/replay.cc @@ -301,7 +301,7 @@ void RtpReplay() { RTPHeader header; std::unique_ptr parser(RtpHeaderParser::Create()); parser->Parse(packet.data, packet.length, &header); - fprintf(stderr, "Packet len=%ld pt=%u seq=%u ts=%u ssrc=0x%8x\n", + fprintf(stderr, "Packet len=%zu pt=%u seq=%u ts=%u ssrc=0x%8x\n", packet.length, header.payloadType, header.sequenceNumber, header.timestamp, header.ssrc); break;