From b7306ae6fe7e50ff69fb6ae5f8d2f92b616e3ca8 Mon Sep 17 00:00:00 2001 From: Niklas Enbom Date: Mon, 31 Aug 2015 11:43:59 -0700 Subject: [PATCH] Revert "Avoiding size_t in MIPS." This reverts commit 32e2f461b13c530d34f9c434e7e76da6ff3eda83. BUG=526716 TBR=minyue@webrtc.org Review URL: https://codereview.webrtc.org/1314873004 . Cr-Commit-Position: refs/heads/master@{#9824} --- .../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 69c4b00be5..d488bfcb51 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 - 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); int offset; #if !defined(MIPS_DSP_R1_LE) int16_t* tmp_cth;