Index: webrtc/common_audio/signal_processing/ilbc_specific_functions.c |
diff --git a/webrtc/common_audio/signal_processing/ilbc_specific_functions.c b/webrtc/common_audio/signal_processing/ilbc_specific_functions.c |
index dae25a445f0d4379d34acadfc23a028f7d36edc2..301a922d79028bc41c43b8f1b6598dd8e38020cc 100644 |
--- a/webrtc/common_audio/signal_processing/ilbc_specific_functions.c |
+++ b/webrtc/common_audio/signal_processing/ilbc_specific_functions.c |
@@ -23,10 +23,10 @@ |
void WebRtcSpl_ReverseOrderMultArrayElements(int16_t *out, const int16_t *in, |
const int16_t *win, |
- int16_t vector_length, |
+ size_t vector_length, |
int16_t right_shifts) |
{ |
- int i; |
+ size_t i; |
int16_t *outptr = out; |
const int16_t *inptr = in; |
const int16_t *winptr = win; |
@@ -37,10 +37,10 @@ void WebRtcSpl_ReverseOrderMultArrayElements(int16_t *out, const int16_t *in, |
} |
void WebRtcSpl_ElementwiseVectorMult(int16_t *out, const int16_t *in, |
- const int16_t *win, int16_t vector_length, |
+ const int16_t *win, size_t vector_length, |
int16_t right_shifts) |
{ |
- int i; |
+ size_t i; |
int16_t *outptr = out; |
const int16_t *inptr = in; |
const int16_t *winptr = win; |
@@ -51,10 +51,10 @@ void WebRtcSpl_ElementwiseVectorMult(int16_t *out, const int16_t *in, |
} |
void WebRtcSpl_AddVectorsAndShift(int16_t *out, const int16_t *in1, |
- const int16_t *in2, int16_t vector_length, |
+ const int16_t *in2, size_t vector_length, |
int16_t right_shifts) |
{ |
- int i; |
+ size_t i; |
int16_t *outptr = out; |
const int16_t *in1ptr = in1; |
const int16_t *in2ptr = in2; |
@@ -66,9 +66,10 @@ void WebRtcSpl_AddVectorsAndShift(int16_t *out, const int16_t *in1, |
void WebRtcSpl_AddAffineVectorToVector(int16_t *out, int16_t *in, |
int16_t gain, int32_t add_constant, |
- int16_t right_shifts, int vector_length) |
+ int16_t right_shifts, |
+ size_t vector_length) |
{ |
- int i; |
+ size_t i; |
for (i = 0; i < vector_length; i++) |
{ |
@@ -78,9 +79,9 @@ void WebRtcSpl_AddAffineVectorToVector(int16_t *out, int16_t *in, |
void WebRtcSpl_AffineTransformVector(int16_t *out, int16_t *in, |
int16_t gain, int32_t add_constant, |
- int16_t right_shifts, int vector_length) |
+ int16_t right_shifts, size_t vector_length) |
{ |
- int i; |
+ size_t i; |
for (i = 0; i < vector_length; i++) |
{ |