Index: webrtc/modules/audio_coding/neteq/expand.cc |
diff --git a/webrtc/modules/audio_coding/neteq/expand.cc b/webrtc/modules/audio_coding/neteq/expand.cc |
index c163feee6defad402b914fedaa26c123348d7b47..2aa9fb0a8d6b9a69e4df95596b362923a4fa772b 100644 |
--- a/webrtc/modules/audio_coding/neteq/expand.cc |
+++ b/webrtc/modules/audio_coding/neteq/expand.cc |
@@ -467,8 +467,7 @@ void Expand::AnalyzeSignal(int16_t* random_vector) { |
correlation_length, correlation_lags, correlation_scale, -1); |
// Find maximizing index. |
- best_index = static_cast<size_t>( |
- WebRtcSpl_MaxIndexW32(correlation_vector2, correlation_lags)); |
+ best_index = WebRtcSpl_MaxIndexW32(correlation_vector2, correlation_lags); |
int32_t max_correlation = correlation_vector2[best_index]; |
// Compensate index with start offset. |
best_index = best_index + start_index; |