summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorMatt Jordan <mjordan@digium.com>2015-04-26 15:53:58 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2015-04-26 15:53:58 -0500
commit0c92a85aee281b4cd162db6125bcc1d63ed4d6af (patch)
tree463e2e987468242b0ed57879a7ee7e8c6926c5bf /res
parent835cf047066ea5a8d67771e7881320af67564304 (diff)
parentf8e21a1adf91bfa141771415b19c31236c2f1a17 (diff)
Merge "Clang: Fix some more tautological-compare warnings."
Diffstat (limited to 'res')
-rw-r--r--res/res_security_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_security_log.c b/res/res_security_log.c
index e14761694..d32b32c9e 100644
--- a/res/res_security_log.c
+++ b/res/res_security_log.c
@@ -98,7 +98,7 @@ static void security_event_stasis_cb(struct ast_json *json)
event_type_json = ast_json_object_get(json, "SecurityEvent");
event_type = ast_json_integer_get(event_type_json);
- ast_assert(event_type >= 0 && event_type < AST_SECURITY_EVENT_NUM_TYPES);
+ ast_assert((unsigned int)event_type < AST_SECURITY_EVENT_NUM_TYPES);
if (!(str = ast_str_thread_get(&security_event_buf,
SECURITY_EVENT_BUF_INIT_LEN))) {