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 3b9171d4143f8abfe52b87e6ee590233c4914316..82e3c8b09c3da79389bdced09d826cc6df527a9c 100644 |
--- a/webrtc/common_audio/signal_processing/get_scaling_square.c |
+++ b/webrtc/common_audio/signal_processing/get_scaling_square.c |
@@ -18,16 +18,16 @@ |
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" |
int16_t WebRtcSpl_GetScalingSquare(int16_t* in_vector, |
- int in_vector_length, |
- int times) |
+ size_t in_vector_length, |
+ size_t times) |
{ |
int16_t nbits = WebRtcSpl_GetSizeInBits((uint32_t)times); |
- int i; |
+ size_t i; |
int16_t smax = -1; |
int16_t sabs; |
int16_t *sptr = in_vector; |
int16_t t; |
- int looptimes = in_vector_length; |
+ size_t looptimes = in_vector_length; |
for (i = looptimes; i > 0; i--) |
{ |