<p>fixeria <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/17009">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">tests/alloc: fix implicit conversion from 'double' to 'int8_t'<br><br>Looks pretty much like a typo. Both '-1' and '.' symbols are<br>neighbours in QWERTZ keyboard layout, so it must be -1.<br><br>Found by Clang [-Wliteral-conversion].<br><br>Change-Id: Id4eb2dcc3b44e18096c7b94efb7260e2400c596b<br>---<br>M tests/alloc/AllocTest.cpp<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/alloc/AllocTest.cpp b/tests/alloc/AllocTest.cpp</span><br><span>index 123f879..2fdee3f 100644</span><br><span>--- a/tests/alloc/AllocTest.cpp</span><br><span>+++ b/tests/alloc/AllocTest.cpp</span><br><span>@@ -309,7 +309,7 @@</span><br><span> </span><br><span>       tfi = the_bts.tfi_find_free(GPRS_RLCMAC_UL_TBF, &trx_no, -1);</span><br><span>    OSMO_ASSERT(tfi >= 0);</span><br><span style="color: hsl(0, 100%, 40%);">-       ul_tbf = tbf_alloc_ul_tbf(bts, NULL, .1, ms_class, 0, false);</span><br><span style="color: hsl(120, 100%, 40%);">+ ul_tbf = tbf_alloc_ul_tbf(bts, NULL, -1, ms_class, 0, false);</span><br><span>        if (!ul_tbf)</span><br><span>                 return false;</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/17009">change 17009</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/c/osmo-pcu/+/17009"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id4eb2dcc3b44e18096c7b94efb7260e2400c596b </div>
<div style="display:none"> Gerrit-Change-Number: 17009 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>