summaryrefslogtreecommitdiff
path: root/auto_tests/file_transfer_test.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-08-04 19:18:31 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-08-13 11:02:32 +0000
commita509d253240abd96665675fed7513f6cdeec04de (patch)
tree0f82af1686f6a2f9fd66759d97ac581fd875d29b /auto_tests/file_transfer_test.c
parent97a4b8e6a74584a692aa8e92bd080c2e60ef04de (diff)
Fix some printf format specifiers.
Diffstat (limited to 'auto_tests/file_transfer_test.c')
-rw-r--r--auto_tests/file_transfer_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/file_transfer_test.c b/auto_tests/file_transfer_test.c
index 9af339e5..63dc3fed 100644
--- a/auto_tests/file_transfer_test.c
+++ b/auto_tests/file_transfer_test.c
@@ -173,7 +173,7 @@ static void file_transfer_test(void)
173 uint8_t address[TOX_ADDRESS_SIZE]; 173 uint8_t address[TOX_ADDRESS_SIZE];
174 tox_self_get_address(tox2, address); 174 tox_self_get_address(tox2, address);
175 uint32_t test = tox_friend_add(tox3, address, (const uint8_t *)"Gentoo", 7, nullptr); 175 uint32_t test = tox_friend_add(tox3, address, (const uint8_t *)"Gentoo", 7, nullptr);
176 ck_assert_msg(test == 0, "Failed to add friend error code: %i", test); 176 ck_assert_msg(test == 0, "Failed to add friend error code: %u", test);
177 177
178 uint8_t dhtKey[TOX_PUBLIC_KEY_SIZE]; 178 uint8_t dhtKey[TOX_PUBLIC_KEY_SIZE];
179 tox_self_get_dht_id(tox1, dhtKey); 179 tox_self_get_dht_id(tox1, dhtKey);