Index: webrtc/modules/audio_coding/main/acm2/acm_receive_test_oldapi.cc |
diff --git a/webrtc/modules/audio_coding/main/acm2/acm_receive_test_oldapi.cc b/webrtc/modules/audio_coding/main/acm2/acm_receive_test_oldapi.cc |
index dd570e67da56c6bf3842c6a32533f797f50051a0..2a0bbe15d4b193a3ea951acdaff7e252a4351213 100644 |
--- a/webrtc/modules/audio_coding/main/acm2/acm_receive_test_oldapi.cc |
+++ b/webrtc/modules/audio_coding/main/acm2/acm_receive_test_oldapi.cc |
@@ -160,7 +160,8 @@ void AcmReceiveTestOldApi::Run() { |
AudioFrame output_frame; |
EXPECT_EQ(0, acm_->PlayoutData10Ms(output_freq_hz_, &output_frame)); |
EXPECT_EQ(output_freq_hz_, output_frame.sample_rate_hz_); |
- const int samples_per_block = output_freq_hz_ * 10 / 1000; |
+ const size_t samples_per_block = |
+ static_cast<size_t>(output_freq_hz_ * 10 / 1000); |
EXPECT_EQ(samples_per_block, output_frame.samples_per_channel_); |
if (exptected_output_channels_ != kArbitraryChannels) { |
if (output_frame.speech_type_ == webrtc::AudioFrame::kPLC) { |