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:
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user