summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toxcore/friend_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/friend_connection.c b/toxcore/friend_connection.c
index 1656def0..04deaf81 100644
--- a/toxcore/friend_connection.c
+++ b/toxcore/friend_connection.c
@@ -220,7 +220,7 @@ static unsigned int send_relays(Friend_Connections *fr_c, int friendcon_id)
220 220
221 n = copy_connected_tcp_relays(fr_c->net_crypto, nodes, MAX_SHARED_RELAYS); 221 n = copy_connected_tcp_relays(fr_c->net_crypto, nodes, MAX_SHARED_RELAYS);
222 222
223 unsigned int i; 223 int i;
224 224
225 for (i = 0; i < n; ++i) { 225 for (i = 0; i < n; ++i) {
226 /* Associated the relays being sent with this connection. 226 /* Associated the relays being sent with this connection.