aboutsummaryrefslogtreecommitdiffstats
path: root/tests/llc/LlcTest.cpp
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/llc/LlcTest.cpp
parent53f0b4deb6026b0c83a10d6a915a3a0c2e7caaf5 (diff)
Fix dozens of compiler warnings across the board
Diffstat (limited to 'tests/llc/LlcTest.cpp')
-rw-r--r--tests/llc/LlcTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/llc/LlcTest.cpp b/tests/llc/LlcTest.cpp
index e972cf4e..8df010e8 100644
--- a/tests/llc/LlcTest.cpp
+++ b/tests/llc/LlcTest.cpp
@@ -66,7 +66,7 @@ static void dequeue_and_check(gprs_llc_queue *queue, const uint8_t *exp_data,
llc_msg = queue->dequeue(&info_res);
OSMO_ASSERT(llc_msg != NULL);
- fprintf(stderr, "dequeued msg, length %d (expected %d), data %s\n",
+ fprintf(stderr, "dequeued msg, length %u (expected %zu), data %s\n",
msgb_length(llc_msg), len, msgb_hexdump(llc_msg));
OSMO_ASSERT(msgb_length(llc_msg) == len);
@@ -239,7 +239,7 @@ int main(int argc, char **argv)
if (!tall_pcu_ctx)
abort();
- msgb_set_talloc_ctx(tall_pcu_ctx);
+ msgb_talloc_ctx_init(tall_pcu_ctx, 0);
osmo_init_logging(&debug_log_info);
log_set_use_color(osmo_stderr_target, 0);
log_set_print_filename(osmo_stderr_target, 0);