diff options
Diffstat (limited to 'pjmedia/src/pjmedia-codec/gsm/rpe.c')
-rw-r--r-- | pjmedia/src/pjmedia-codec/gsm/rpe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjmedia/src/pjmedia-codec/gsm/rpe.c b/pjmedia/src/pjmedia-codec/gsm/rpe.c index eda4f18e..90563dbe 100644 --- a/pjmedia/src/pjmedia-codec/gsm/rpe.c +++ b/pjmedia/src/pjmedia-codec/gsm/rpe.c @@ -298,7 +298,7 @@ static void APCM_quantization P5((xM,xMc,mant_out,exp_out,xmaxc_out), temp = exp + 5; assert(temp <= 11 && temp >= 0); - xmaxc = gsm_add( SASR(xmax, temp), exp << 3 ); + xmaxc = gsm_add( (word)SASR(xmax, temp), (word)(exp << 3) ); /* Quantizing and coding of the xM[0..12] RPE sequence * to get the xMc[0..12] |