Fixing warning C4267 on Win (more_configs).

This is a follow-up of https://webrtc-review.googlesource.com/c/src/+/12921.

Bug: chromium:759980
Change-Id: Ifd39adb6541c0c7e0337f587a8b34b84a07331ed
Reviewed-on: https://webrtc-review.googlesource.com/13122
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20341}
This commit is contained in:
Mirko Bonadei
2017-10-19 09:00:17 +02:00
committed by Commit Bot
parent 117c48291c
commit 737e073f8d
16 changed files with 70 additions and 43 deletions

View File

@ -483,7 +483,7 @@ TEST_F(NetEqImplTest, VerifyTimestampPropagation) {
decoded[i] = next_value_++;
}
*speech_type = kSpeech;
return encoded_len;
return rtc::checked_cast<int>(encoded_len);
}
void Reset() override { next_value_ = 1; }
@ -1312,7 +1312,7 @@ class Decoder120ms : public AudioDecoder {
decoded[i] = next_value_++;
}
*speech_type = speech_type_;
return decoded_len;
return rtc::checked_cast<int>(decoded_len);
}
void Reset() override { next_value_ = 1; }