Fixes a bunch of 16-bit issues that the C5X compiler warns about

This commit is contained in:
Jean-Marc Valin 2012-03-08 14:09:09 -05:00
parent 59354a7742
commit 905197d750
25 changed files with 49 additions and 49 deletions

View file

@ -51,7 +51,7 @@ static inline void silk_NLSF_residual_dequant( /* O Returns RD
} else if( out_Q10 < 0 ) {
out_Q10 = silk_ADD16( out_Q10, SILK_FIX_CONST( NLSF_QUANT_LEVEL_ADJ, 10 ) );
}
out_Q10 = silk_SMLAWB( pred_Q10, out_Q10, quant_step_size_Q16 );
out_Q10 = silk_SMLAWB( pred_Q10, (opus_int32)out_Q10, quant_step_size_Q16 );
x_Q10[ i ] = out_Q10;
}
}