aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-01-09 11:56:19 +0100
committerHarald Welte <laforge@osmocom.org>2022-01-09 12:04:16 +0100
commitc85aaed3fb8ecc25cffbc1232da22155e10bf740 (patch)
treef97c3a428a70457ef6065183f0c19bc3628a65bf /include/osmocom/core
parent42dcbf0c1f480c9eecb6c3d4be121c95db8d4708 (diff)
bitvec: Fix -Wsign-compare warnings
Diffstat (limited to 'include/osmocom/core')
-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 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,