Merge "chan_dahdi.c: crash in chan_dahdi" into 16

This commit is contained in:
Joshua Colp 2019-07-02 08:26:40 -05:00 committed by Gerrit Code Review
commit 1b832c3b60
1 changed files with 2 additions and 2 deletions

View File

@ -1766,8 +1766,8 @@ static void publish_dahdichannel(struct ast_channel *chan, ast_group_t group, in
ast_assert(dahdi_channel != NULL);
blob = ast_json_pack("{s: i, s: i, s: s}",
"group", group,
blob = ast_json_pack("{s: I, s: i, s: s}",
"group", (ast_json_int_t)group,
"span", span,
"channel", dahdi_channel);
if (!blob) {