From aa050954195f6323775ed68f4262edf2341c6953 Mon Sep 17 00:00:00 2001 From: iphydf Date: Fri, 23 Feb 2018 17:11:00 +0000 Subject: Remove the use of the 'hh' format specifier. It's not supported in mingw. See https://github.com/TokTok/c-toxcore/issues/786. --- auto_tests/toxav_many_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auto_tests/toxav_many_test.c') diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c index ed4aa211..e89a6823 100644 --- a/auto_tests/toxav_many_test.c +++ b/auto_tests/toxav_many_test.c @@ -215,8 +215,8 @@ static void test_av_three_calls(void) tox_callback_friend_request(Alice, t_accept_friend_request_cb); tox_self_get_address(Alice, address); - printf("bootstrapping Alice and the %zd Bobs off a third bootstrap node\n", - sizeof(Bobs) / sizeof(Bobs[0])); + printf("bootstrapping Alice and the %u Bobs off a third bootstrap node\n", + (unsigned)(sizeof(Bobs) / sizeof(Bobs[0]))); uint8_t dht_key[TOX_PUBLIC_KEY_SIZE]; tox_self_get_dht_id(bootstrap, dht_key); const uint16_t dht_port = tox_self_get_udp_port(bootstrap, nullptr); -- cgit v1.2.3