<p>Joshua Colp <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11514">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Matthew Fredrickson: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_dahdi.c: crash in chan_dahdi<br><br>Fixes a crash in chan_dahdi occurring on 32-bit systems. A previous<br>patch introduced a variable of type unassigned long long which is 64-bits.<br>Casting it as 'ast_json_int_t' along with JSON type 'I' makes it work<br>with 32-bit systems.<br><br>ASTERISK-28457<br><br>Change-Id: I9cef6b5f2d826fc5c93f2f6a1c997c4e3e6c93fe<br>---<br>M channels/chan_dahdi.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c</span><br><span>index f428530..434bd16 100644</span><br><span>--- a/channels/chan_dahdi.c</span><br><span>+++ b/channels/chan_dahdi.c</span><br><span>@@ -1766,8 +1766,8 @@</span><br><span> </span><br><span> ast_assert(dahdi_channel != NULL);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- blob = ast_json_pack("{s: i, s: i, s: s}",</span><br><span style="color: hsl(0, 100%, 40%);">- "group", group,</span><br><span style="color: hsl(120, 100%, 40%);">+ blob = ast_json_pack("{s: I, s: i, s: s}",</span><br><span style="color: hsl(120, 100%, 40%);">+ "group", (ast_json_int_t)group,</span><br><span> "span", span,</span><br><span> "channel", dahdi_channel);</span><br><span> if (!blob) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11514">change 11514</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/11514"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I9cef6b5f2d826fc5c93f2f6a1c997c4e3e6c93fe </div>
<div style="display:none"> Gerrit-Change-Number: 11514 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Christian Savinovich <csavinovich@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Matthew Fredrickson <creslin@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>