laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/libosmocore/+/14479 )
Change subject: bitvec: correct comment in bitvec_alloc ...................................................................... bitvec: correct comment in bitvec_alloc The function allocates x bytes not bits for the vector. Change-Id: I60fbe9fe9acd11c5d3232207f1bb677e8a98625f --- M src/bitvec.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved pespin: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/bitvec.c b/src/bitvec.c index 0f56e3e..dac0401 100644 --- a/src/bitvec.c +++ b/src/bitvec.c @@ -401,7 +401,7 @@ } /*! Allocate a bit vector - * \param[in] size Number of bits in the vector + * \param[in] size Number of bytes in the vector * \param[in] ctx Context from which to allocate * \return pointer to allocated vector; NULL in case of error */ struct bitvec *bitvec_alloc(unsigned int size, TALLOC_CTX *ctx) -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/14479 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I60fbe9fe9acd11c5d3232207f1bb677e8a98625f Gerrit-Change-Number: 14479 Gerrit-PatchSet: 2 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <lafo...@gnumonks.org> Gerrit-Reviewer: pespin <pes...@sysmocom.de> Gerrit-MessageType: merged