via: 3cd120a02e28225cc89f6898a317fd4f93b0c138 (commit)
from: 180e3d4ab1943361610ca241d150565aad8d16fd (commit)
= COMMIT LOG ===========================================================
committer: Jeff Lenk
comments:
fix warning
diff --git a/src/switch_resample.c b/src/switch_resample.c
index 64656b6..949b351 100644
--- a/src/switch_resample.c
+++ b/src/switch_resample.c
@@ -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;
}
Summary of changes: src/switch_resample.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630
--
FreeSWITCH Source