Fix two simple type mismatches thay may cause compilation issues on win.

BUG=None

Review-Url: https://codereview.webrtc.org/2955193002
Cr-Commit-Position: refs/heads/master@{#18836}
This commit is contained in:
sprang
2017-06-29 07:42:18 -07:00
committed by Commit Bot
parent 960fd5b903
commit 3dbfac3515
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -301,7 +301,7 @@ void RtpReplay() {
RTPHeader header;
std::unique_ptr<RtpHeaderParser> 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;