summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-01-15 17:55:32 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-15 18:04:02 +0100
commit449324b2646b3a42f621756e4556f795c1f791d1 (patch)
treebad58363918d7f224b506c260bc2afd2109e7667 /include
parentf2899c674e6dc43142edbfffeacc1b0c40a2f885 (diff)
bitvec: Ensure bitvec.h and bitvec.c agree on function argument type
uint32_t may or may not be unsigned int. Change-Id: I21c96985fcbb72372b6df949301c21f1ebca41f2
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/bitvec.h2
1 files changed, 1 insertions, 1 deletions
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);