ratox

FIFO based tox client
git clone git://git.2f30.org/ratox
Log | Files | Refs | README | LICENSE

commit bf9771faf829587c91c834f422140550cb28525a
parent 3fcf991243ecfed7ba72aea6f079a7e7c229cbee
Author: sin <sin@2f30.org>
Date:   Tue, 30 Sep 2014 15:43:54 +0100

Proper types

Diffstat:
Mratox.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ratox.c b/ratox.c @@ -282,10 +282,10 @@ static void cbconnstatus(Tox *m, int32_t frnum, uint8_t status, void *udata) { struct friend *f; - uint8_t name[TOX_MAX_NAME_LENGTH + 1]; + char name[TOX_MAX_NAME_LENGTH + 1]; int r; - r = tox_get_name(tox, frnum, name); + r = tox_get_name(tox, frnum, (uint8_t *)name); if (r < 0) eprintf("Failed to get name for friend number %ld\n", (long)frnum);