Index: webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc |
diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc b/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc |
index 1c028c97443c6a1e59de242e651d380ad155a49e..9994d6aa7b2521a343a2bb71fe5bdaa10b3a47f4 100644 |
--- a/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc |
+++ b/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc |
@@ -210,7 +210,7 @@ NetEqQualityTest::NetEqQualityTest(int block_duration_ms, |
int out_sampling_khz, |
enum NetEqDecoder decoder_type) |
: decoder_type_(decoder_type), |
- channels_(FLAGS_channels), |
+ channels_(static_cast<size_t>(FLAGS_channels)), |
decoded_time_ms_(0), |
decodable_time_ms_(0), |
drift_factor_(FLAGS_drift_factor), |
@@ -392,7 +392,7 @@ int NetEqQualityTest::Transmit() { |
} |
int NetEqQualityTest::DecodeBlock() { |
- int channels; |
+ size_t channels; |
size_t samples; |
int ret = neteq_->GetAudio(out_size_samples_ * channels_, &out_data_[0], |
&samples, &channels, NULL); |