diff options
author | hugbubby <hugbubby@protonmail.com> | 2018-07-15 18:12:16 -0700 |
---|---|---|
committer | hugbubby <hugbubby@protonmail.com> | 2018-07-18 13:55:30 -0700 |
commit | a592f0fa87c96f1c2dea1406e4dcbfa5cde4f8f1 (patch) | |
tree | c81dafd7a0cc359e66e0ba2b1aa09f9b123c0b0d /auto_tests/conference_two_test.c | |
parent | 864d1c15e4a3b8df236af320312e8115c6bcd791 (diff) |
Wrong use of unsigned integer.
Diffstat (limited to 'auto_tests/conference_two_test.c')
-rw-r--r-- | auto_tests/conference_two_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auto_tests/conference_two_test.c b/auto_tests/conference_two_test.c index 8d834dc4..c3036165 100644 --- a/auto_tests/conference_two_test.c +++ b/auto_tests/conference_two_test.c | |||
@@ -14,15 +14,15 @@ | |||
14 | int main(void) | 14 | int main(void) |
15 | { | 15 | { |
16 | // Create toxes. | 16 | // Create toxes. |
17 | uint8_t id = 1; | 17 | uint32_t id = 1; |
18 | Tox *tox1 = tox_new_log(nullptr, nullptr, &id); | 18 | Tox *tox1 = tox_new_log(nullptr, nullptr, &id); |
19 | 19 | ||
20 | // Create two conferences and then exit. | 20 | // Create two conferences and then exit. |
21 | TOX_ERR_CONFERENCE_NEW err; | 21 | TOX_ERR_CONFERENCE_NEW err; |
22 | tox_conference_new(tox1, &err); | 22 | tox_conference_new(tox1, &err); |
23 | ck_assert_msg(err == TOX_ERR_CONFERENCE_NEW_OK, "Failed to create conference 1: %d.", err); | 23 | ck_assert_msg(err == TOX_ERR_CONFERENCE_NEW_OK, "failed to create conference 1: %d", err); |
24 | tox_conference_new(tox1, &err); | 24 | tox_conference_new(tox1, &err); |
25 | ck_assert_msg(err == TOX_ERR_CONFERENCE_NEW_OK, "Failed to create conference 2: %d.", err); | 25 | ck_assert_msg(err == TOX_ERR_CONFERENCE_NEW_OK, "failed to create conference 2: %d", err); |
26 | 26 | ||
27 | tox_kill(tox1); | 27 | tox_kill(tox1); |
28 | 28 | ||