Matthew Jordan
6ba6e3dffd
clang compiler warnings: Fix autological comparisons
...
This fixes autological comparison warnings in the following:
* chan_skinny: letohl may return a signed or unsigned value, depending on the
macro chosen
* func_curl: Provide a specific cast to CURLoption to prevent mismatch
* cel: Fix enum comparisons where the enum can never be negative
* enum: Fix comparison of return result of dn_expand, which returns a signed
int value
* event: Fix enum comparisons where the enum can never be negative
* indications: tone_data.freq1 and freq2 are unsigned, and hence can never be
negative
* presencestate: Use the actual enum value for INVALID state
* security_events: Fix enum comparisons where the enum can never be negative
* udptl: Don't bother to check if the return value from encode_length is less
than 0, as it returns an unsigned int
* translate: Since the parameters are unsigned int, don't bother checking
to see if they are negative. The cast to unsigned int would already blow
past the matrix bounds.
* res_pjsip_exten_state: Use a temporary value to cache the return of
ast_hint_presence_state
* res_stasis_playback: Fix enum comparisons where the enum can never be
negative
* res_stasis_recording: Add an enum value for the case where the recording
operation is in error; fix enum comparisons
* resource_bridges: Use enum value as opposed to -1
* resource_channels: Use enum value as opposed to -1
Review: https://reviewboard.asterisk.org/r/4533
ASTERISK-24917
Reported by: dkdegroot
patches:
rb4533.patch submitted by dkdegroot (License 6600)
........
Merged revisions 434469 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-04-09 12:56:30 +00:00
..
2013-08-16 18:34:31 +00:00
2014-12-22 19:44:03 +00:00
2014-07-20 22:06:33 +00:00
2014-06-19 20:13:20 +00:00
2012-06-25 15:55:25 +00:00
2008-08-08 00:48:35 +00:00
2010-07-14 20:48:59 +00:00
2007-12-11 14:17:29 +00:00
2013-12-18 20:33:37 +00:00
2015-04-09 12:56:30 +00:00
2014-01-12 22:24:27 +00:00
2009-04-29 18:53:01 +00:00
2008-02-26 20:02:14 +00:00
2014-07-24 21:01:37 +00:00
2013-08-23 18:07:40 +00:00
2014-07-18 17:55:38 +00:00
2014-07-24 17:50:46 +00:00
2006-11-15 20:55:17 +00:00
2014-07-20 22:06:33 +00:00
2013-12-19 17:45:21 +00:00
2015-01-26 14:49:32 +00:00
2013-08-23 18:07:40 +00:00
2014-04-15 23:21:19 +00:00
2013-07-25 04:06:32 +00:00
2013-08-22 18:52:41 +00:00
2015-01-22 19:24:28 +00:00
2015-03-26 17:04:13 +00:00
2014-08-07 15:30:19 +00:00
2015-01-22 19:24:28 +00:00
2013-08-05 16:59:13 +00:00
2015-04-08 18:14:00 +00:00
2015-01-29 23:02:41 +00:00
2013-12-03 17:35:54 +00:00
2008-10-30 16:53:11 +00:00
2012-02-22 21:22:43 +00:00
2014-07-20 22:06:33 +00:00
2013-01-09 20:21:33 +00:00
2013-05-21 18:00:22 +00:00
2014-01-12 22:13:12 +00:00
2015-04-09 12:56:30 +00:00
2011-07-07 22:39:54 +00:00
2014-03-07 15:47:55 +00:00
2015-02-11 17:28:13 +00:00
2013-12-18 20:33:37 +00:00
2014-10-09 17:45:23 +00:00
2013-04-15 16:22:03 +00:00
2014-07-20 22:06:33 +00:00
2014-01-28 20:47:15 +00:00
2013-08-30 13:40:27 +00:00
2014-07-20 22:06:33 +00:00
2015-03-17 22:15:09 +00:00
2013-07-08 14:26:40 +00:00
2014-03-07 15:47:55 +00:00
2012-08-30 14:23:28 +00:00
2014-07-20 22:06:33 +00:00
2014-08-07 15:30:19 +00:00
2014-05-22 12:01:37 +00:00
2015-02-26 18:52:56 +00:00
2011-12-06 19:09:56 +00:00
2014-03-17 22:54:32 +00:00
2012-01-30 23:58:51 +00:00
2013-12-11 19:19:24 +00:00
2011-12-28 18:59:16 +00:00
2008-11-29 17:57:39 +00:00
2008-10-09 17:48:53 +00:00
2014-07-22 16:20:58 +00:00
2009-03-09 20:58:17 +00:00
2014-05-22 12:01:37 +00:00
2014-05-22 12:01:37 +00:00
2011-07-15 00:23:14 +00:00
2014-11-17 16:51:16 +00:00
2013-09-13 22:19:23 +00:00
2014-09-16 16:32:49 +00:00
2014-08-04 21:00:51 +00:00
2014-09-18 16:37:47 +00:00
2014-08-07 18:51:16 +00:00
2014-12-12 16:57:26 +00:00
2014-10-03 17:39:50 +00:00
2014-09-19 12:45:53 +00:00
2008-07-21 20:59:03 +00:00
2008-07-21 20:59:03 +00:00
2008-07-21 21:00:47 +00:00
2010-06-08 05:29:08 +00:00
2012-11-16 00:19:48 +00:00
2012-08-30 14:23:28 +00:00
2014-06-26 12:21:14 +00:00
2015-01-30 16:52:12 +00:00
2014-07-20 22:06:33 +00:00
2012-01-27 18:47:16 +00:00
2015-04-06 19:02:23 +00:00
2009-03-18 02:28:55 +00:00
2015-02-27 18:23:22 +00:00
2012-11-27 18:20:18 +00:00
2013-04-08 13:27:45 +00:00
2015-02-21 02:46:15 +00:00
2015-04-09 12:56:30 +00:00
2015-01-12 18:34:28 +00:00
2012-08-29 22:48:08 +00:00
2013-06-24 13:49:20 +00:00
2014-08-05 21:44:09 +00:00
2013-07-01 16:01:24 +00:00
2014-07-20 22:06:33 +00:00
2015-02-11 15:51:33 +00:00
2014-04-15 23:21:19 +00:00
2013-08-22 21:29:16 +00:00
2014-06-19 20:13:20 +00:00
2014-06-24 02:50:15 +00:00
2008-06-12 17:38:27 +00:00
2013-08-30 20:58:59 +00:00
2014-07-04 13:26:37 +00:00
2013-08-23 15:42:27 +00:00
2014-05-22 15:52:30 +00:00
2013-07-03 17:58:45 +00:00
2014-04-18 16:44:48 +00:00
2014-10-14 18:12:40 +00:00
2013-08-02 13:54:31 +00:00
2009-11-02 22:29:19 +00:00
2007-11-16 20:04:58 +00:00
2010-09-02 05:02:54 +00:00
2013-08-01 13:49:34 +00:00
2005-11-29 18:24:39 +00:00
2010-06-18 21:32:09 +00:00
2015-01-09 14:51:39 +00:00
2014-03-28 18:32:50 +00:00
2014-01-06 17:45:25 +00:00
2012-09-21 17:14:59 +00:00
2014-07-07 16:08:47 +00:00
2014-03-08 16:50:36 +00:00
2014-08-07 14:35:09 +00:00
2014-08-07 19:26:32 +00:00
2014-10-16 14:35:00 +00:00
2015-04-02 14:56:00 +00:00
2015-03-27 20:30:18 +00:00
2012-02-24 15:10:35 +00:00
2014-12-09 20:02:29 +00:00
2013-08-22 22:33:48 +00:00
2015-02-19 02:01:34 +00:00
2014-06-30 19:51:28 +00:00
2013-08-17 14:39:27 +00:00
2013-05-30 17:05:53 +00:00
2011-04-26 19:38:41 +00:00
2015-01-26 14:49:32 +00:00
2011-10-11 19:06:29 +00:00
2011-02-22 23:04:49 +00:00
2012-10-11 15:49:02 +00:00
2014-07-20 22:06:33 +00:00
2014-07-20 22:06:33 +00:00
2014-07-21 08:41:29 +00:00
2014-07-20 22:06:33 +00:00
2014-12-05 17:06:42 +00:00
2013-06-24 13:49:20 +00:00
2014-07-20 22:06:33 +00:00
2014-04-29 15:10:24 +00:00
2013-04-22 16:22:00 +00:00
2013-11-23 17:48:28 +00:00
2014-08-22 16:44:21 +00:00
2014-01-14 23:44:57 +00:00
2014-03-07 15:47:55 +00:00
2014-07-18 21:48:46 +00:00
2014-03-07 15:47:55 +00:00
2015-02-12 20:32:48 +00:00
2014-11-14 15:24:48 +00:00
2013-08-01 13:49:34 +00:00
2014-12-08 15:49:24 +00:00
2013-11-22 20:10:46 +00:00
2014-12-01 17:57:12 +00:00
2014-12-01 17:57:12 +00:00
2013-07-19 18:00:35 +00:00
2013-05-08 13:39:08 +00:00
2014-12-01 17:57:12 +00:00
2013-04-26 20:05:15 +00:00
2014-11-19 19:31:13 +00:00
2015-03-30 02:39:18 +00:00
2011-12-01 21:19:41 +00:00
2015-01-12 18:01:24 +00:00
2014-10-03 17:39:50 +00:00
2014-07-03 17:16:55 +00:00
2007-11-06 19:10:26 +00:00
2013-02-14 18:47:56 +00:00
2014-12-05 17:06:42 +00:00
2013-04-25 18:25:31 +00:00
2015-03-27 07:09:26 +00:00
2013-06-17 03:00:38 +00:00
2014-02-07 20:01:45 +00:00
2007-12-11 22:20:22 +00:00
2014-07-20 22:06:33 +00:00
2013-12-19 17:13:53 +00:00
2007-12-11 22:20:22 +00:00
2010-08-17 19:34:52 +00:00
2014-08-21 14:39:27 +00:00
2015-04-09 12:56:30 +00:00
2013-03-28 23:59:20 +00:00
2014-07-20 22:06:33 +00:00
2012-01-25 21:31:28 +00:00
2013-02-15 13:38:12 +00:00
2014-07-24 13:00:59 +00:00
2014-07-22 16:20:58 +00:00