diff options
author | George Joseph <george.joseph@fairview5.com> | 2016-02-01 12:04:06 -0700 |
---|---|---|
committer | George Joseph <george.joseph@fairview5.com> | 2016-02-01 19:22:40 -0600 |
commit | 40da6434c1189e2557d20ea3871761cb34595257 (patch) | |
tree | 5337e33a26badb1830c26153a87186e7d1bcecaa /channels/chan_dahdi.c | |
parent | 52b29f9b4cd373be7357cd03e01cfeb2d0029140 (diff) |
build_system: Fix some warnings highlighted by clang
Fix some warnings found with clang.
Change-Id: I5195b6189b148c2ee3ed4a19d015a6d4ef3e77bd
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r-- | channels/chan_dahdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 697c720e3..2d923433c 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -4704,7 +4704,7 @@ static int drc_sample(int sample, float drc) neg = (sample < 0 ? -1 : 1); steep = drc*sample; shallow = neg*(max-max/drc)+(float)sample/drc; - if (abs(steep) < abs(shallow)) { + if (fabsf(steep) < fabsf(shallow)) { sample = steep; } else { |