diff options
author | Harald Welte <laforge@osmocom.org> | 2022-01-09 11:56:19 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2022-01-09 12:04:16 +0100 |
commit | c85aaed3fb8ecc25cffbc1232da22155e10bf740 (patch) | |
tree | f97c3a428a70457ef6065183f0c19bc3628a65bf /include/osmocom/core | |
parent | 42dcbf0c1f480c9eecb6c3d4be121c95db8d4708 (diff) |
bitvec: Fix -Wsign-compare warnings
Change-Id: I34f65cda83bcd7050bd0cc0fb9e5cb5d33a09086
Diffstat (limited to 'include/osmocom/core')
-rw-r--r-- | include/osmocom/core/bitvec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/bitvec.h b/include/osmocom/core/bitvec.h index 6a378610..70b0e27d 100644 --- a/include/osmocom/core/bitvec.h +++ b/include/osmocom/core/bitvec.h @@ -73,7 +73,7 @@ char bit_value_to_char(enum bit_value v); void bitvec_to_string_r(const struct bitvec *bv, char *str); void bitvec_zero(struct bitvec *bv); unsigned bitvec_rl(const struct bitvec *bv, bool b); -unsigned bitvec_rl_curbit(struct bitvec *bv, bool b, int max_bits); +unsigned bitvec_rl_curbit(struct bitvec *bv, bool b, unsigned int max_bits); void bitvec_shiftl(struct bitvec *bv, unsigned int n); int16_t bitvec_get_int16_msb(const struct bitvec *bv, unsigned int num_bits); unsigned int bitvec_add_array(struct bitvec *bv, const uint32_t *array, |