diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-06-19 12:09:20 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-06-19 12:09:20 +0000 |
commit | 7d2346f0da97072e6f011ef38e788cc5782c82f6 (patch) | |
tree | bff5438e8d011371a882ba7b309ec1ff4e601909 /pjmedia/src/pjmedia-codec/gsm/rpe.c | |
parent | e688d142c3c8532db504d90e83dbc50989ddba95 (diff) |
Fix warning messages in GSM and speex because of previous update to GSM patchlevel 10 and speex 1.1.12
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@523 74dad513-b988-da41-8d7b-12977e46ad98
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] |