fix warning

This commit is contained in:
Jeff Lenk 2011-02-20 14:50:20 -06:00
parent 180e3d4ab1
commit 3cd120a02e
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ SWITCH_DECLARE(void) switch_change_sln_volume_granular(int16_t *data, uint32_t s
int16_t *fp = data;
for (x = 0; x < samples; x++) {
tmp = (int32_t) fp[x] * newrate;
tmp = (int32_t) (fp[x] * newrate);
switch_normalize_to_16bit(tmp);
fp[x] = (int16_t) tmp;
}