From d595a28b494ee2e3c06824f9263fec4dea408658 Mon Sep 17 00:00:00 2001 From: Will Rouesnel Date: Tue, 9 Dec 2014 10:12:23 +1100 Subject: [PATCH] Patch auto_tests/tox_test.c with the new prototype --- auto_tests/tox_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auto_tests/tox_test.c b/auto_tests/tox_test.c index 65ce304c..c78bc1f5 100644 --- a/auto_tests/tox_test.c +++ b/auto_tests/tox_test.c @@ -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);