@ -32,7 +32,7 @@
* Convert a hex string to it's binary equivalent of max size bytes.
*/
void
twc_hex2bin(const char *hex, size_t size, char *out)
twc_hex2bin(const char *hex, size_t size, uint8_t *out)
{
const char *position = hex;
@ -25,7 +25,7 @@
#include <tox/tox.h>
twc_hex2bin(const char *hex, size_t size, char *out);
twc_hex2bin(const char *hex, size_t size, uint8_t *out);
twc_bin2hex(const uint8_t *bin, size_t size, char *out);