mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-29 06:56:44 +02:00
type fixes
This commit is contained in:
@ -60,7 +60,7 @@ void cmd_accept(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[
|
||||
return;
|
||||
}
|
||||
|
||||
int friendnum = tox_add_friend_norequest(m, pending_frnd_requests[req]);
|
||||
int32_t friendnum = tox_add_friend_norequest(m, pending_frnd_requests[req]);
|
||||
|
||||
if (friendnum == -1)
|
||||
wprintw(window, "Failed to add friend.\n");
|
||||
@ -134,7 +134,7 @@ void cmd_add(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[MAX
|
||||
id[i] = toupper(id[i]);
|
||||
}
|
||||
|
||||
int f_num = tox_add_friend(m, id_bin, msg, strlen(msg) + 1);
|
||||
int32_t f_num = tox_add_friend(m, id_bin, msg, strlen(msg) + 1);
|
||||
|
||||
switch (f_num) {
|
||||
case TOX_FAERR_TOOLONG:
|
||||
|
Reference in New Issue
Block a user