diff options
Diffstat (limited to 'auto_tests/conference_peer_nick_test.c')
-rw-r--r-- | auto_tests/conference_peer_nick_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/conference_peer_nick_test.c b/auto_tests/conference_peer_nick_test.c index 4d54f1fb..e99d3b79 100644 --- a/auto_tests/conference_peer_nick_test.c +++ b/auto_tests/conference_peer_nick_test.c | |||
@@ -65,7 +65,7 @@ static void rebuild_peer_list(Tox *tox) | |||
65 | ck_assert_msg(err == TOX_ERR_CONFERENCE_PEER_QUERY_OK, | 65 | ck_assert_msg(err == TOX_ERR_CONFERENCE_PEER_QUERY_OK, |
66 | "failed to get conference peer %u's name size (conference = %u): err = %d", peer_number, conference_number, err); | 66 | "failed to get conference peer %u's name size (conference = %u): err = %d", peer_number, conference_number, err); |
67 | 67 | ||
68 | uint8_t *const name = malloc(size); | 68 | uint8_t *const name = (uint8_t *)malloc(size); |
69 | tox_conference_peer_get_name(tox, conference_number, peer_number, name, &err); | 69 | tox_conference_peer_get_name(tox, conference_number, peer_number, name, &err); |
70 | ck_assert_msg(err == TOX_ERR_CONFERENCE_PEER_QUERY_OK, | 70 | ck_assert_msg(err == TOX_ERR_CONFERENCE_PEER_QUERY_OK, |
71 | "failed to get conference peer %u's name (conference = %u): err = %d", peer_number, conference_number, err); | 71 | "failed to get conference peer %u's name (conference = %u): err = %d", peer_number, conference_number, err); |