summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/tox.c2
-rw-r--r--toxcore/tox.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 21854de4..e8ec593b 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -826,7 +826,7 @@ int tox_get_self_avatar(const Tox *tox, uint8_t *format, uint8_t *buf, uint32_t
826 return m_get_self_avatar(m, format, buf, length, maxlen, hash); 826 return m_get_self_avatar(m, format, buf, length, maxlen, hash);
827} 827}
828 828
829int tox_hash(const Tox *tox, uint8_t *hash, const uint8_t *data, const uint32_t datalen) 829int tox_hash(uint8_t *hash, const uint8_t *data, const uint32_t datalen)
830{ 830{
831 return m_hash(hash, data, datalen); 831 return m_hash(hash, data, datalen);
832} 832}
diff --git a/toxcore/tox.h b/toxcore/tox.h
index d285e3fc..61cfdf70 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -625,7 +625,7 @@ int tox_get_self_avatar(const Tox *tox, uint8_t *format, uint8_t *buf, uint32_t
625 * returns 0 on success 625 * returns 0 on success
626 * returns -1 on failure. 626 * returns -1 on failure.
627 */ 627 */
628int tox_hash(const Tox *tox, uint8_t *hash, const uint8_t *data, const uint32_t datalen); 628int tox_hash(uint8_t *hash, const uint8_t *data, const uint32_t datalen);
629 629
630/* Request avatar information from a friend. 630/* Request avatar information from a friend.
631 * Asks a friend to provide their avatar information (image format and hash). The friend may 631 * Asks a friend to provide their avatar information (image format and hash). The friend may