diff options
Diffstat (limited to 'toxcore/friend_connection.c')
-rw-r--r-- | toxcore/friend_connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/friend_connection.c b/toxcore/friend_connection.c index 7eb8e8c0..aca64e5a 100644 --- a/toxcore/friend_connection.c +++ b/toxcore/friend_connection.c | |||
@@ -550,7 +550,7 @@ int kill_friend_connection(Friend_Connections *fr_c, int friendcon_id) | |||
550 | * This function will be called every time a friend request packet is received. | 550 | * This function will be called every time a friend request packet is received. |
551 | */ | 551 | */ |
552 | void set_friend_request_callback(Friend_Connections *fr_c, int (*fr_request_callback)(void *, const uint8_t *, | 552 | void set_friend_request_callback(Friend_Connections *fr_c, int (*fr_request_callback)(void *, const uint8_t *, |
553 | const uint8_t *, uint32_t), void *object) | 553 | const uint8_t *, uint16_t), void *object) |
554 | { | 554 | { |
555 | fr_c->fr_request_callback = fr_request_callback; | 555 | fr_c->fr_request_callback = fr_request_callback; |
556 | fr_c->fr_request_object = object; | 556 | fr_c->fr_request_object = object; |