Fixed some type warnings.
This commit is contained in:
parent
5d4f420c71
commit
cba04d0062
@ -68,11 +68,11 @@ int
|
||||
twc_bootstrap_tox(Tox *tox, const char *address, uint16_t port,
|
||||
const char *public_key)
|
||||
{
|
||||
char binary_key[TOX_FRIEND_ADDRESS_SIZE];
|
||||
uint8_t binary_key[TOX_FRIEND_ADDRESS_SIZE];
|
||||
twc_hex2bin(public_key, TOX_FRIEND_ADDRESS_SIZE, binary_key);
|
||||
|
||||
int result = tox_bootstrap_from_address(tox, address, port,
|
||||
(uint8_t *)binary_key);
|
||||
binary_key);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
@ -294,7 +294,7 @@ twc_cmd_friend(void *data, struct t_gui_buffer *buffer,
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
char address[TOX_FRIEND_ADDRESS_SIZE];
|
||||
uint8_t address[TOX_FRIEND_ADDRESS_SIZE];
|
||||
twc_hex2bin(hex_id, TOX_FRIEND_ADDRESS_SIZE, address);
|
||||
|
||||
if (force)
|
||||
|
Loading…
Reference in New Issue
Block a user