Patch auto_tests/tox_test.c with the new prototype

This commit is contained in:
Will Rouesnel 2014-12-09 10:12:23 +11:00
parent 8a56cb3b58
commit d595a28b49

View File

@ -70,7 +70,8 @@ void print_typingchange(Tox *m, int friendnumber, uint8_t typing, void *userdata
uint32_t custom_packet;
int handle_custom_packet(void *object, const uint8_t *data, uint32_t len)
int handle_custom_packet(Tox* m, uint32_t friend_num, const uint8_t *data,
uint32_t len, void* object)
{
uint8_t number = *((uint32_t *)object);