Changed output type of twc_hex2bin to (uint8_t *).

This commit is contained in:
Håvard Pettersson 2014-11-19 11:53:40 +01:00
parent 2af297d24b
commit 20bcc0700a
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -25,7 +25,7 @@
#include <tox/tox.h>
void
twc_hex2bin(const char *hex, size_t size, char *out);
twc_hex2bin(const char *hex, size_t size, uint8_t *out);
void
twc_bin2hex(const uint8_t *bin, size_t size, char *out);