<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/14479">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bitvec: correct comment in bitvec_alloc<br><br>The function allocates x bytes not bits for the vector.<br><br>Change-Id: I60fbe9fe9acd11c5d3232207f1bb677e8a98625f<br>---<br>M src/bitvec.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/libosmocore refs/changes/79/14479/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/bitvec.c b/src/bitvec.c</span><br><span>index 0f56e3e..dac0401 100644</span><br><span>--- a/src/bitvec.c</span><br><span>+++ b/src/bitvec.c</span><br><span>@@ -401,7 +401,7 @@</span><br><span> }</span><br><span> </span><br><span> /*! Allocate a bit vector</span><br><span style="color: hsl(0, 100%, 40%);">- *  \param[in] size Number of bits in the vector</span><br><span style="color: hsl(120, 100%, 40%);">+ *  \param[in] size Number of bytes in the vector</span><br><span>  *  \param[in] ctx Context from which to allocate</span><br><span>  *  \return pointer to allocated vector; NULL in case of error */</span><br><span> struct bitvec *bitvec_alloc(unsigned int size, TALLOC_CTX *ctx)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/14479">change 14479</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/libosmocore/+/14479"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I60fbe9fe9acd11c5d3232207f1bb677e8a98625f </div>
<div style="display:none"> Gerrit-Change-Number: 14479 </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>