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

uint32_t may or may not be unsigned int.

Change-Id: I21c96985fcbb72372b6df949301c21f1ebca41f2
This commit is contained in:
Harald Welte 2017-01-15 17:55:32 +01:00
parent f2899c674e
commit 449324b264
1 changed files with 1 additions and 1 deletions

View File

@ -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);