diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-03-08 23:09:09 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-03-08 23:09:09 +0400 |
commit | 905197d750d00c460c4940c42c3b7b9c2f85441c (patch) | |
tree | a81fb46750b02635cad0c22bb429a6b41d294ed3 /silk/LPC_inv_pred_gain.c | |
parent | 59354a7742ff0fc182886f2f2567026e516c1eef (diff) |
Fixes a bunch of 16-bit issues that the C5X compiler warns about
Diffstat (limited to 'silk/LPC_inv_pred_gain.c')
-rw-r--r-- | silk/LPC_inv_pred_gain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/LPC_inv_pred_gain.c b/silk/LPC_inv_pred_gain.c index db529d14..9dc3984b 100644 --- a/silk/LPC_inv_pred_gain.c +++ b/silk/LPC_inv_pred_gain.c @@ -49,7 +49,7 @@ static opus_int32 LPC_inverse_pred_gain_QA( /* O Returns inver Anew_QA = A_QA[ order & 1 ]; - invGain_Q30 = 1 << 30; + invGain_Q30 = (opus_int32)1 << 30; for( k = order - 1; k > 0; k-- ) { /* Check for stability */ if( ( Anew_QA[ k ] > A_LIMIT ) || ( Anew_QA[ k ] < -A_LIMIT ) ) { |