mirror of https://gerrit.osmocom.org/libosmocore
bitvec: correct comment in bitvec_alloc
The function allocates x bytes not bits for the vector. Change-Id: I60fbe9fe9acd11c5d3232207f1bb677e8a98625f
This commit is contained in:
parent
dda07be055
commit
76e8cbd8ab
|
@ -401,7 +401,7 @@ int bitvec_set_bytes(struct bitvec *bv, const uint8_t *bytes, unsigned int count
|
|||
}
|
||||
|
||||
/*! 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)
|
||||
|
|
Loading…
Reference in New Issue