summaryrefslogtreecommitdiff
path: root/auto_tests/toxav_many_test.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-02-23 17:11:00 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-03-16 01:57:26 +0000
commitaa050954195f6323775ed68f4262edf2341c6953 (patch)
tree0b2f53b23b97dc1e90f798ae97321a727c413462 /auto_tests/toxav_many_test.c
parent78d5b74dcee1208efe19dd115006034501c4380f (diff)
Remove the use of the 'hh' format specifier.
It's not supported in mingw. See https://github.com/TokTok/c-toxcore/issues/786.
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r--auto_tests/toxav_many_test.c4
1 files changed, 2 insertions, 2 deletions
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)
215 tox_callback_friend_request(Alice, t_accept_friend_request_cb); 215 tox_callback_friend_request(Alice, t_accept_friend_request_cb);
216 tox_self_get_address(Alice, address); 216 tox_self_get_address(Alice, address);
217 217
218 printf("bootstrapping Alice and the %zd Bobs off a third bootstrap node\n", 218 printf("bootstrapping Alice and the %u Bobs off a third bootstrap node\n",
219 sizeof(Bobs) / sizeof(Bobs[0])); 219 (unsigned)(sizeof(Bobs) / sizeof(Bobs[0])));
220 uint8_t dht_key[TOX_PUBLIC_KEY_SIZE]; 220 uint8_t dht_key[TOX_PUBLIC_KEY_SIZE];
221 tox_self_get_dht_id(bootstrap, dht_key); 221 tox_self_get_dht_id(bootstrap, dht_key);
222 const uint16_t dht_port = tox_self_get_udp_port(bootstrap, nullptr); 222 const uint16_t dht_port = tox_self_get_udp_port(bootstrap, nullptr);