diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-02-08 17:07:40 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-02-08 17:37:55 +0100 |
commit | d34646a865364fa51213e0da406aeea2ab7d944b (patch) | |
tree | 65a5cc0c1efe00d4b4af66b2bad11e25f0850f16 /tests/bitcomp | |
parent | 53f0b4deb6026b0c83a10d6a915a3a0c2e7caaf5 (diff) |
Fix dozens of compiler warnings across the board
Change-Id: I166109dc05d3323b92cd2a42f0c7e6009950e15d
Diffstat (limited to 'tests/bitcomp')
-rw-r--r-- | tests/bitcomp/BitcompTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bitcomp/BitcompTest.cpp b/tests/bitcomp/BitcompTest.cpp index fd3b0dfa..31b6d115 100644 --- a/tests/bitcomp/BitcompTest.cpp +++ b/tests/bitcomp/BitcompTest.cpp @@ -121,7 +121,7 @@ static int filter_fn(const struct log_context *ctx, } /* To verify the result with expected result */ -int check_result(bitvec bits, uint8_t *exp_data, int exp_len) +int check_result(bitvec bits, uint8_t *exp_data, unsigned int exp_len) { if (bits.cur_bit != exp_len) return 0; @@ -147,7 +147,7 @@ static void test_EPDAN_decode_tree(void) { bitvec dest; int init_flag = 1; - int itr; + unsigned int itr; int rc; uint8_t bits_data[RLC_EGPRS_MAX_WS/8]; |