summaryrefslogtreecommitdiff
path: root/protocols/Tox/libtox/src/toxcore/announce.c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-02-02 14:40:34 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-02-02 14:40:34 +0300
commit29b658000f364d4d33a9eff4ac4eb51d9cbf638e (patch)
tree33c2361796449df67afbb545a8ac571e96d47d3d /protocols/Tox/libtox/src/toxcore/announce.c
parent8b85a1d4242aadcdcb682a90059061cc72a868c0 (diff)
libtox: update to 0.2.20
Diffstat (limited to 'protocols/Tox/libtox/src/toxcore/announce.c')
-rw-r--r--protocols/Tox/libtox/src/toxcore/announce.c2
1 files changed, 1 insertions, 1 deletions
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;
}