Fixed some type warnings.

This commit is contained in:
Håvard Pettersson
2014-11-20 11:05:05 +01:00
parent 5d4f420c71
commit cba04d0062
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}