From a341b259b6342962e209f1b50708abe40f1cdad2 Mon Sep 17 00:00:00 2001 From: "Coren[m]" Date: Sat, 14 Sep 2013 10:43:09 +0200 Subject: Change sublength to 32 bits. Someone might have more than (sizeof(Friends) / 65536) friends... --- toxcore/util.h | 1 - 1 file changed, 1 deletion(-) (limited to 'toxcore/util.h') diff --git a/toxcore/util.h b/toxcore/util.h index 41f558c1..00482862 100644 --- a/toxcore/util.h +++ b/toxcore/util.h @@ -14,7 +14,6 @@ bool ipp_eq(IP_Port a, IP_Port b); bool id_eq(uint8_t *dest, uint8_t *src); void id_cpy(uint8_t *dest, uint8_t *src); -typedef uint16_t state_length_sub_t; typedef int (*load_state_callback_func)(void *outer, uint8_t *data, uint32_t len, uint16_t type); int load_state(load_state_callback_func load_state_callback, void *outer, uint8_t *data, uint32_t length, uint16_t cookie_inner); -- cgit v1.2.3