Index: webrtc/common_audio/signal_processing/auto_correlation.c |
diff --git a/webrtc/common_audio/signal_processing/auto_correlation.c b/webrtc/common_audio/signal_processing/auto_correlation.c |
index fed131221898c335df78661566c152c5578c8c29..405a08ecaff527f329e66abd49fbf2155d636e7c 100644 |
--- a/webrtc/common_audio/signal_processing/auto_correlation.c |
+++ b/webrtc/common_audio/signal_processing/auto_correlation.c |
@@ -36,7 +36,7 @@ int WebRtcSpl_AutoCorrelation(const int16_t* in_vector, |
scaling = 0; |
} else { |
// Number of bits in the sum loop. |
- int nbits = WebRtcSpl_GetSizeInBits(in_vector_length); |
+ int nbits = WebRtcSpl_GetSizeInBits((uint32_t)in_vector_length); |
// Number of bits to normalize smax. |
int t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); |