summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorMatt Jordan <mjordan@digium.com>2015-04-26 15:53:50 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2015-04-26 15:53:50 -0500
commit2d277996b7a306165931d50cabccea0bc7daa0da (patch)
tree4d357e70d7450dda74e67b4c729036bd4a670bcc /res
parent145f65598cd11089226cb95c4809b098cf6e637a (diff)
parentd6dfc85666370e1bc71f050bd5dfaf12cb629734 (diff)
Merge "Clang: Fix some more tautological-compare warnings." into 13
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 e56f7f76f..78ca1218c 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))) {