From 6bbb9398558d226711450feea45417bcf3eafe70 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Fri, 21 Nov 2014 20:18:29 -0500 Subject: Cleaned up packet length types in toxcore. They are now all uint16_t instead of sometimes being uint32_t. Replaced some other uint32_t with unsigned ints. --- toxcore/friend_connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore/friend_connection.c') 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) * This function will be called every time a friend request packet is received. */ void set_friend_request_callback(Friend_Connections *fr_c, int (*fr_request_callback)(void *, const uint8_t *, - const uint8_t *, uint32_t), void *object) + const uint8_t *, uint16_t), void *object) { fr_c->fr_request_callback = fr_request_callback; fr_c->fr_request_object = object; -- cgit v1.2.3