Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2012-03-08 23:09:09 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-03-08 23:09:09 +0400
commit905197d750d00c460c4940c42c3b7b9c2f85441c (patch)
treea81fb46750b02635cad0c22bb429a6b41d294ed3 /silk/LPC_inv_pred_gain.c
parent59354a7742ff0fc182886f2f2567026e516c1eef (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.c2
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 ) ) {