diff options
author | Tom Rondeau | 2011-10-20 11:04:00 -0700 |
---|---|---|
committer | Tom Rondeau | 2011-10-20 11:04:00 -0700 |
commit | b82f5bd2a53ec0f8973c0057410c784cc7771943 (patch) | |
tree | e9f26ebd65a90a4d4d6d7dba24b5d54a0e6db82c /gr-vocoder/lib | |
parent | ccfac187cf86122be5760cb1e2a0bba3a58821c7 (diff) | |
download | gnuradio-b82f5bd2a53ec0f8973c0057410c784cc7771943.tar.gz gnuradio-b82f5bd2a53ec0f8973c0057410c784cc7771943.tar.bz2 gnuradio-b82f5bd2a53ec0f8973c0057410c784cc7771943.zip |
vocoder: fixed signed/unsigned warning.
Diffstat (limited to 'gr-vocoder/lib')
-rw-r--r-- | gr-vocoder/lib/gsm/preprocess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-vocoder/lib/gsm/preprocess.c b/gr-vocoder/lib/gsm/preprocess.c index 99c0709dc..1e1bbf8b0 100644 --- a/gr-vocoder/lib/gsm/preprocess.c +++ b/gr-vocoder/lib/gsm/preprocess.c @@ -93,11 +93,11 @@ void Gsm_Preprocess P3((S, s, so), L_s2 += GSM_MULT_R( lsp, 32735 ); L_temp = (longword)msp * 32735; /* GSM_L_MULT(msp,32735) >> 1;*/ - L_z2 = GSM_L_ADD( L_temp, L_s2 ); + L_z2 = GSM_L_ADD( (ulongword)L_temp, (ulongword)L_s2 ); /* Compute sof[k] with rounding */ - L_temp = GSM_L_ADD( L_z2, 16384 ); + L_temp = GSM_L_ADD( (ulongword)L_z2, 16384 ); /* 4.2.3 Preemphasis */ |