[MERGED] libosmocore[master]: bitvec: Ensure bitvec.h and bitvec.c agree on function argum...

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Jan 15 17:34:01 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: bitvec: Ensure bitvec.h and bitvec.c agree on function argument type
......................................................................


bitvec: Ensure bitvec.h and bitvec.c agree on function argument type

uint32_t may or may not be unsigned int.

Change-Id: I21c96985fcbb72372b6df949301c21f1ebca41f2
---
M include/osmocom/core/bitvec.h
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/core/bitvec.h b/include/osmocom/core/bitvec.h
index 280039b..6944770 100644
--- a/include/osmocom/core/bitvec.h
+++ b/include/osmocom/core/bitvec.h
@@ -71,7 +71,7 @@
 int bitvec_set_bit(struct bitvec *bv, enum bit_value bit);
 int bitvec_get_bit_high(struct bitvec *bv);
 int bitvec_set_bits(struct bitvec *bv, const enum bit_value *bits, unsigned int count);
-int bitvec_set_uint(struct bitvec *bv, uint32_t in, unsigned int count);
+int bitvec_set_uint(struct bitvec *bv, unsigned int in, unsigned int count);
 int bitvec_get_uint(struct bitvec *bv, unsigned int num_bits);
 int bitvec_find_bit_pos(const struct bitvec *bv, unsigned int n, enum bit_value val);
 int bitvec_spare_padding(struct bitvec *bv, unsigned int up_to_bit);

-- 
To view, visit https://gerrit.osmocom.org/1606
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I21c96985fcbb72372b6df949301c21f1ebca41f2
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder


More information about the gerrit-log mailing list