Chromium Code Reviews| Index: webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_mips.c |
| diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_mips.c b/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_mips.c |
| index c596922168e0e74e86bc63fd2903e4bb693334b0..7197b153891118d0b10dfad5e8363a434ea97f7c 100644 |
| --- a/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_mips.c |
| +++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_mips.c |
| @@ -17,11 +17,11 @@ void WebRtcIsacfix_FilterArLoop(int16_t* ar_g_Q0, // Input samples |
| int16_t* ar_f_Q0, // Input samples |
| int16_t* cth_Q15, // Filter coefficients |
| int16_t* sth_Q15, // Filter coefficients |
| - int16_t order_coef) { // order of the filter |
| + size_t order_coef) { // order of the filter |
| int n = 0; |
| for (n = 0; n < HALF_SUBFRAMELEN - 1; n++) { |
| - int count = order_coef - 1; |
| + int count = (int)(order_coef - 1); |
|
minyue-webrtc
2015/08/12 16:08:08
I do not know what if order_coef = 0 here (but tha
Peter Kasting
2015/08/14 22:32:26
In practice this never happens; we always pass in
|
| int offset; |
| #if !defined(MIPS_DSP_R1_LE) |
| int16_t* tmp_cth; |