From 32e2f461b13c530d34f9c434e7e76da6ff3eda83 Mon Sep 17 00:00:00 2001 From: minyuel Date: Mon, 31 Aug 2015 17:40:04 +0200 Subject: [PATCH] Avoiding size_t in MIPS. TBR=pkasting@chromium.org BUG=526716 Review URL: https://codereview.webrtc.org/1310553008 . Cr-Commit-Position: refs/heads/master@{#9823} --- .../audio_coding/codecs/isac/fix/source/lattice_mips.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 d488bfcb51..69c4b00be5 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 @@ -19,11 +19,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 - size_t order_coef) { // order of the filter + int16_t order_coef) { // order of the filter int n = 0; for (n = 0; n < HALF_SUBFRAMELEN - 1; n++) { - int count = (int)(order_coef - 1); + int count = order_coef - 1; int offset; #if !defined(MIPS_DSP_R1_LE) int16_t* tmp_cth;