Index: webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.c |
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.c b/webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.c |
index 481dfbac0594ac46a1e1e5f33dbf98101c20e347..f2415febc0de4ba9656f796f67d6490bb558e5a1 100644 |
--- a/webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.c |
+++ b/webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.c |
@@ -23,16 +23,17 @@ |
* sample and the last sample respectively */ |
void WebRtcIlbcfix_CbMemEnergyCalc( |
int32_t energy, /* (i) input start energy */ |
- int16_t range, /* (i) number of iterations */ |
+ size_t range, /* (i) number of iterations */ |
int16_t *ppi, /* (i) input pointer 1 */ |
int16_t *ppo, /* (i) input pointer 2 */ |
int16_t *energyW16, /* (o) Energy in the CB vectors */ |
int16_t *energyShifts, /* (o) Shift value of the energy */ |
int scale, /* (i) The scaling of all energy values */ |
- int16_t base_size /* (i) Index to where energy values should be stored */ |
+ size_t base_size /* (i) Index to where energy values should be stored */ |
) |
{ |
- int16_t j,shft; |
+ size_t j; |
+ int16_t shft; |
int32_t tmp; |
int16_t *eSh_ptr; |
int16_t *eW16_ptr; |