aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bitcomp
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-08 17:07:40 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-08 17:37:55 +0100
commitd34646a865364fa51213e0da406aeea2ab7d944b (patch)
tree65a5cc0c1efe00d4b4af66b2bad11e25f0850f16 /tests/bitcomp
parent53f0b4deb6026b0c83a10d6a915a3a0c2e7caaf5 (diff)
Fix dozens of compiler warnings across the board
Diffstat (limited to 'tests/bitcomp')
-rw-r--r--tests/bitcomp/BitcompTest.cpp4
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];