<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/14569">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rlc: replace int with uint16_t<br><br>The i value will only count forward and is limited to 11 bit. The integer is also<br>converted when returning to uint16_t<br><br>Change-Id: Ib8a9081bbcb8b4344498254c58941002d17f9381<br>---<br>M src/rlc.cpp<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-pcu refs/changes/69/14569/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/rlc.cpp b/src/rlc.cpp</span><br><span>index e5067c9..c6d4330 100644</span><br><span>--- a/src/rlc.cpp</span><br><span>+++ b/src/rlc.cpp</span><br><span>@@ -91,7 +91,7 @@</span><br><span> /* Update the receive block bitmap */</span><br><span> uint16_t gprs_rlc_ul_window::update_egprs_rbb(uint8_t *rbb)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-  int i;</span><br><span style="color: hsl(120, 100%, 40%);">+        uint16_t i;</span><br><span>  uint16_t bsn;</span><br><span>        uint16_t bitmask = 0x80;</span><br><span>     int8_t pos = 0;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/14569">change 14569</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/+/14569"/><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: Ib8a9081bbcb8b4344498254c58941002d17f9381 </div>
<div style="display:none"> Gerrit-Change-Number: 14569 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>