mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Merge "Clang: Fix some more tautological-compare warnings." into 11
This commit is contained in:
@@ -120,7 +120,7 @@ static void security_event_cb(const struct ast_event *event, void *data)
|
||||
|
||||
/* Note that the event type is guaranteed to be valid here. */
|
||||
event_type = ast_event_get_ie_uint(event, AST_EVENT_IE_SECURITY_EVENT);
|
||||
ast_assert(event_type >= 0 && event_type < AST_SECURITY_EVENT_NUM_TYPES);
|
||||
ast_assert((unsigned int)event_type >= 0 && event_type < AST_SECURITY_EVENT_NUM_TYPES);
|
||||
|
||||
ast_str_set(&str, 0, "%s=\"%s\"",
|
||||
ast_event_get_ie_type_name(AST_EVENT_IE_SECURITY_EVENT),
|
||||
|
||||
Reference in New Issue
Block a user