| Index: webrtc/modules/audio_processing/gain_control_impl.cc
|
| diff --git a/webrtc/modules/audio_processing/gain_control_impl.cc b/webrtc/modules/audio_processing/gain_control_impl.cc
|
| index c8175dc01f22685246af7255c3ddafe917db5b84..b9b35648aafa6c7b9ff9aacd18e00fd96d29b192 100644
|
| --- a/webrtc/modules/audio_processing/gain_control_impl.cc
|
| +++ b/webrtc/modules/audio_processing/gain_control_impl.cc
|
| @@ -111,8 +111,8 @@ void GainControlImpl::ReadQueuedRenderData() {
|
| }
|
|
|
| while (render_signal_queue_->Remove(&capture_queue_buffer_)) {
|
| - int buffer_index = 0;
|
| - const int num_frames_per_band =
|
| + size_t buffer_index = 0;
|
| + const size_t num_frames_per_band =
|
| capture_queue_buffer_.size() / num_handles();
|
| for (int i = 0; i < num_handles(); i++) {
|
| Handle* my_handle = static_cast<Handle*>(handle(i));
|
|
|