diff options
author | irungentoo <irungentoo@gmail.com> | 2014-11-21 20:18:29 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-11-21 20:18:29 -0500 |
commit | 6bbb9398558d226711450feea45417bcf3eafe70 (patch) | |
tree | ed946e3fa14ccc4aec0dbdddc481dcd1e2de3e69 /toxcore/friend_connection.c | |
parent | e74225039e08e7be6e60cf7e2f5e279eb0559ce7 (diff) |
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.
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; |