mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Patch auto_tests/tox_test.c with the new prototype
This commit is contained in:
parent
8a56cb3b58
commit
d595a28b49
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user