]> git.ipfire.org Git - thirdparty/asterisk.git/commit
clang compiler warnings: Fix -Wabsolute-value warnings
authorMatthew Jordan <mjordan@digium.com>
Mon, 30 Mar 2015 02:44:21 +0000 (02:44 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 30 Mar 2015 02:44:21 +0000 (02:44 +0000)
commit297b8df31b1be1baca5d324da3fbd8710f329e9f
treedb057e7fc5d9755a3a333716e738c213d6e4b4d6
parentb8d7aa442d519a98eb510a9d78c28b1a356c27dc
clang compiler warnings: Fix -Wabsolute-value warnings

This patch fixes several warnings caught by clang - in this case, usage of the
abs function on non-integer values. This patch uses labs and fabs, as
appropriate, in the various affected files.

Review: https://reviewboard.asterisk.org/r/4525

ASTERISK-24917
Reported by: dkdegroot
patches:
  rb4525.patch submitted by dkdegroot (License 6600)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@433749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c
channels/chan_iax2.c
channels/sip/dialplan_functions.c
main/jitterbuf.c
res/res_calendar.c
res/res_rtp_asterisk.c