<p>Max has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11867">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Fix type mismatch<br><br>llist_count() return unsigned value, let's use it for counter as well.<br><br>Change-Id: I81097a64ef694bec046afcc23cf995dc539a706b<br>---<br>M src/common/l1sap.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/67/11867/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/l1sap.c b/src/common/l1sap.c</span><br><span>index 8029c88..dba08df 100644</span><br><span>--- a/src/common/l1sap.c</span><br><span>+++ b/src/common/l1sap.c</span><br><span>@@ -149,7 +149,7 @@</span><br><span> /*! limit number of queue entries to %u; drops any surplus messages */</span><br><span> static void queue_limit_to(const char *prefix, struct llist_head *queue, unsigned int limit)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-   int count = llist_count(queue);</span><br><span style="color: hsl(120, 100%, 40%);">+       unsigned int count = llist_count(queue);</span><br><span> </span><br><span>         if (count > limit)</span><br><span>                LOGP(DL1P, LOGL_NOTICE, "%s: freeing %d queued frames\n", prefix, count-limit);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11867">change 11867</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/11867"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I81097a64ef694bec046afcc23cf995dc539a706b </div>
<div style="display:none"> Gerrit-Change-Number: 11867 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>