Skip to content
Snippets Groups Projects
Commit 489823e3 authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "res_pjsip: Fix warning by deferring implicit type cast." into 15

parents 3f24d38f 65ff8277
Branches
Tags
No related merge requests found
...@@ -366,7 +366,7 @@ static int contact_acl_to_str(const void *obj, const intptr_t *args, char **buf) ...@@ -366,7 +366,7 @@ static int contact_acl_to_str(const void *obj, const intptr_t *args, char **buf)
static int dtmf_handler(const struct aco_option *opt, struct ast_variable *var, void *obj) static int dtmf_handler(const struct aco_option *opt, struct ast_variable *var, void *obj)
{ {
struct ast_sip_endpoint *endpoint = obj; struct ast_sip_endpoint *endpoint = obj;
enum ast_sip_dtmf_mode dtmf = ast_sip_str_to_dtmf(var->value); int dtmf = ast_sip_str_to_dtmf(var->value);
if (dtmf == -1) { if (dtmf == -1) {
return -1; return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment