From 449324b2646b3a42f621756e4556f795c1f791d1 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 15 Jan 2017 17:55:32 +0100 Subject: bitvec: Ensure bitvec.h and bitvec.c agree on function argument type uint32_t may or may not be unsigned int. Change-Id: I21c96985fcbb72372b6df949301c21f1ebca41f2 --- include/osmocom/core/bitvec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/osmocom/core/bitvec.h b/include/osmocom/core/bitvec.h index 280039bf..6944770c 100644 --- a/include/osmocom/core/bitvec.h +++ b/include/osmocom/core/bitvec.h @@ -71,7 +71,7 @@ int bitvec_set_bit_pos(struct bitvec *bv, unsigned int bitnum, 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); -- cgit v1.2.3