diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-08-04 19:18:31 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-13 11:02:32 +0000 |
commit | a509d253240abd96665675fed7513f6cdeec04de (patch) | |
tree | 0f82af1686f6a2f9fd66759d97ac581fd875d29b /auto_tests/friend_request_test.c | |
parent | 97a4b8e6a74584a692aa8e92bd080c2e60ef04de (diff) |
Fix some printf format specifiers.
Diffstat (limited to 'auto_tests/friend_request_test.c')
-rw-r--r-- | auto_tests/friend_request_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/friend_request_test.c b/auto_tests/friend_request_test.c index 1bcc05a7..73f9248c 100644 --- a/auto_tests/friend_request_test.c +++ b/auto_tests/friend_request_test.c | |||
@@ -61,7 +61,7 @@ static void test_friend_request(void) | |||
61 | tox_self_get_address(tox2, address); | 61 | tox_self_get_address(tox2, address); |
62 | 62 | ||
63 | const uint32_t test = tox_friend_add(tox1, address, (const uint8_t *)FR_MESSAGE, sizeof(FR_MESSAGE), nullptr); | 63 | const uint32_t test = tox_friend_add(tox1, address, (const uint8_t *)FR_MESSAGE, sizeof(FR_MESSAGE), nullptr); |
64 | ck_assert_msg(test == 0, "failed to add friend error code: %i", test); | 64 | ck_assert_msg(test == 0, "failed to add friend error code: %u", test); |
65 | 65 | ||
66 | while (tox_friend_get_connection_status(tox1, 0, nullptr) != TOX_CONNECTION_UDP || | 66 | while (tox_friend_get_connection_status(tox1, 0, nullptr) != TOX_CONNECTION_UDP || |
67 | tox_friend_get_connection_status(tox2, 0, nullptr) != TOX_CONNECTION_UDP) { | 67 | tox_friend_get_connection_status(tox2, 0, nullptr) != TOX_CONNECTION_UDP) { |