diff options
Diffstat (limited to 'toxcore/net_crypto.c')
-rw-r--r-- | toxcore/net_crypto.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c index 72a34811..b93b5cde 100644 --- a/toxcore/net_crypto.c +++ b/toxcore/net_crypto.c | |||
@@ -27,10 +27,13 @@ | |||
27 | #include "config.h" | 27 | #include "config.h" |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #include "math.h" | ||
31 | #include "net_crypto.h" | 30 | #include "net_crypto.h" |
31 | |||
32 | #include "util.h" | 32 | #include "util.h" |
33 | 33 | ||
34 | #include <math.h> | ||
35 | |||
36 | |||
34 | static uint8_t crypt_connection_id_not_valid(const Net_Crypto *c, int crypt_connection_id) | 37 | static uint8_t crypt_connection_id_not_valid(const Net_Crypto *c, int crypt_connection_id) |
35 | { | 38 | { |
36 | if ((uint32_t)crypt_connection_id >= c->crypto_connections_length) { | 39 | if ((uint32_t)crypt_connection_id >= c->crypto_connections_length) { |