Index: webrtc/common_audio/signal_processing/get_scaling_square.c |
diff --git a/webrtc/common_audio/signal_processing/get_scaling_square.c b/webrtc/common_audio/signal_processing/get_scaling_square.c |
index 9b6049c24fe63ffe96be24a243c86b5e8f62a765..3b9171d4143f8abfe52b87e6ee590233c4914316 100644 |
--- a/webrtc/common_audio/signal_processing/get_scaling_square.c |
+++ b/webrtc/common_audio/signal_processing/get_scaling_square.c |
@@ -21,7 +21,7 @@ int16_t WebRtcSpl_GetScalingSquare(int16_t* in_vector, |
int in_vector_length, |
int times) |
{ |
- int16_t nbits = WebRtcSpl_GetSizeInBits(times); |
+ int16_t nbits = WebRtcSpl_GetSizeInBits((uint32_t)times); |
int i; |
int16_t smax = -1; |
int16_t sabs; |