summaryrefslogtreecommitdiff
path: root/toxcore/group.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/group.c')
-rw-r--r--toxcore/group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/group.c b/toxcore/group.c
index 1761d02d..9ba0c3df 100644
--- a/toxcore/group.c
+++ b/toxcore/group.c
@@ -2457,7 +2457,7 @@ static unsigned int send_lossy_all_close(const Group_Chats *g_c, uint32_t groupn
2457 } 2457 }
2458 2458
2459 unsigned int to_send = 0; 2459 unsigned int to_send = 0;
2460 uint64_t comp_val_old = ~0; 2460 uint64_t comp_val_old = -1;
2461 2461
2462 for (i = 0; i < num_connected_closest; ++i) { 2462 for (i = 0; i < num_connected_closest; ++i) {
2463 uint8_t real_pk[CRYPTO_PUBLIC_KEY_SIZE] = {0}; 2463 uint8_t real_pk[CRYPTO_PUBLIC_KEY_SIZE] = {0};
@@ -2477,7 +2477,7 @@ static unsigned int send_lossy_all_close(const Group_Chats *g_c, uint32_t groupn
2477 } 2477 }
2478 2478
2479 unsigned int to_send_other = 0; 2479 unsigned int to_send_other = 0;
2480 comp_val_old = ~0; 2480 comp_val_old = -1;
2481 2481
2482 for (i = 0; i < num_connected_closest; ++i) { 2482 for (i = 0; i < num_connected_closest; ++i) {
2483 uint8_t real_pk[CRYPTO_PUBLIC_KEY_SIZE] = {0}; 2483 uint8_t real_pk[CRYPTO_PUBLIC_KEY_SIZE] = {0};