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) ........ Merged revisions 433749 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 433750 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- apps/app_queue.c 11 additions, 10 deletionsapps/app_queue.c
- channels/chan_iax2.c 7 additions, 6 deletionschannels/chan_iax2.c
- channels/sip/dialplan_functions.c 1 addition, 1 deletionchannels/sip/dialplan_functions.c
- main/jitterbuf.c 1 addition, 1 deletionmain/jitterbuf.c
- res/res_calendar.c 5 additions, 5 deletionsres/res_calendar.c
- res/res_rtp_asterisk.c 6 additions, 6 deletionsres/res_rtp_asterisk.c
Loading
Please register or sign in to comment