From 29b658000f364d4d33a9eff4ac4eb51d9cbf638e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 2 Feb 2025 14:40:34 +0300 Subject: libtox: update to 0.2.20 --- protocols/Tox/libtox/src/toxcore/announce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Tox/libtox/src/toxcore/announce.c') diff --git a/protocols/Tox/libtox/src/toxcore/announce.c b/protocols/Tox/libtox/src/toxcore/announce.c index b983cb0574..7bda993232 100644 --- a/protocols/Tox/libtox/src/toxcore/announce.c +++ b/protocols/Tox/libtox/src/toxcore/announce.c @@ -579,7 +579,7 @@ static int create_reply(Announcements *announce, const IP_Port *source, const int plain_reply_max_len = (int)reply_max_length - (1 + CRYPTO_PUBLIC_KEY_SIZE + CRYPTO_NONCE_SIZE + CRYPTO_MAC_SIZE); - if (plain_reply_max_len < sizeof(uint64_t)) { + if (plain_reply_max_len < (int)sizeof(uint64_t)) { return -1; } -- cgit v1.2.3