Commit 022113be authored by Mohammadreza Naghibzadeh's avatar Mohammadreza Naghibzadeh
Browse files

Remove (Word16 *) cast from norm_arr inputs

parent 5ed0ee68
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -248,9 +248,9 @@ void encod_gen_voic_fx(
        ELSE
        {
#ifdef FIX_BASOP_2517_CLICK_IN_OMASA_LTV
            Word16 min_scf = norm_arr( (Word16 *) ( speech_fx + i_subfr_fx - M ), M );
            Word16 min_scf = norm_arr( speech_fx + i_subfr_fx - M, M );
            min_scf = s_min( min_scf, norm_arr( hLPDmem->mem_syn, M ) );
            min_scf = s_min( min_scf, norm_arr( (Word16 *) ( res_fx + i_subfr_fx ), L_SUBFR ) );
            min_scf = s_min( min_scf, norm_arr( res_fx + i_subfr_fx, L_SUBFR ) );
            IF( hLPDmem->mem_w0 != 0 )
            {
                min_scf = s_min( min_scf, norm_s( hLPDmem->mem_w0 ) );