<p>Richard Mudgett has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11151">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">taskprocessor.c: Fix printf type mismatch<br><br>A size_t is not always an unsigned long.<br><br>* Cast the AST_VECTOR_SIZE() to an unsigned long to match the ast_cli()<br>printf format string.<br><br>Change-Id: Ib102dd36bbe6c2a7a4ce6870ae9110d978dd7e98<br>---<br>M main/taskprocessor.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/51/11151/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/taskprocessor.c b/main/taskprocessor.c</span><br><span>index 9c04edd..e584f23 100644</span><br><span>--- a/main/taskprocessor.c</span><br><span>+++ b/main/taskprocessor.c</span><br><span>@@ -716,7 +716,8 @@</span><br><span>                 ast_cli(a->fd, FMT_FIELDS_SUBSYSTEM, alert->subsystem, alert->alert_count);</span><br><span>         }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   ast_cli(a->fd, "\n%lu subsystems\n\n", AST_VECTOR_SIZE(&sorted_subsystems));</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_cli(a->fd, "\n%lu subsystems\n\n",</span><br><span style="color: hsl(120, 100%, 40%);">+           (unsigned long) AST_VECTOR_SIZE(&sorted_subsystems));</span><br><span> </span><br><span>        AST_VECTOR_CALLBACK_VOID(&sorted_subsystems, ast_free);</span><br><span>  AST_VECTOR_FREE(&sorted_subsystems);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11151">change 11151</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/+/11151"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-Change-Id: Ib102dd36bbe6c2a7a4ce6870ae9110d978dd7e98 </div>
<div style="display:none"> Gerrit-Change-Number: 11151 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>