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_requests.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_requests.c')
-rw-r--r-- | toxcore/friend_requests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/friend_requests.c b/toxcore/friend_requests.c index a7a1bcba..98937131 100644 --- a/toxcore/friend_requests.c +++ b/toxcore/friend_requests.c | |||
@@ -103,7 +103,7 @@ int remove_request_received(Friend_Requests *fr, const uint8_t *client_id) | |||
103 | } | 103 | } |
104 | 104 | ||
105 | 105 | ||
106 | static int friendreq_handlepacket(void *object, const uint8_t *source_pubkey, const uint8_t *packet, uint32_t length) | 106 | static int friendreq_handlepacket(void *object, const uint8_t *source_pubkey, const uint8_t *packet, uint16_t length) |
107 | { | 107 | { |
108 | Friend_Requests *fr = object; | 108 | Friend_Requests *fr = object; |
109 | 109 | ||