From a509d253240abd96665675fed7513f6cdeec04de Mon Sep 17 00:00:00 2001 From: iphydf Date: Sat, 4 Aug 2018 19:18:31 +0000 Subject: Fix some printf format specifiers. --- auto_tests/tox_many_tcp_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto_tests/tox_many_tcp_test.c') diff --git a/auto_tests/tox_many_tcp_test.c b/auto_tests/tox_many_tcp_test.c index 7ce2c9a5..b8343f74 100644 --- a/auto_tests/tox_many_tcp_test.c +++ b/auto_tests/tox_many_tcp_test.c @@ -63,7 +63,7 @@ START_TEST(test_many_clients_tcp) uint8_t dpk[TOX_PUBLIC_KEY_SIZE]; tox_self_get_dht_id(toxes[0], dpk); TOX_ERR_BOOTSTRAP error = TOX_ERR_BOOTSTRAP_OK; - ck_assert_msg(tox_add_tcp_relay(toxes[i], TOX_LOCALHOST, TCP_RELAY_PORT, dpk, &error), "add relay error, %i, %i", i, + ck_assert_msg(tox_add_tcp_relay(toxes[i], TOX_LOCALHOST, TCP_RELAY_PORT, dpk, &error), "add relay error, %u, %d", i, error); uint16_t first_port = tox_self_get_udp_port(toxes[0], nullptr); ck_assert_msg(tox_bootstrap(toxes[i], TOX_LOCALHOST, first_port, dpk, nullptr), "Bootstrap error"); -- cgit v1.2.3