summaryrefslogtreecommitdiff
path: root/toxcore/friend_connection.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-06-15 22:11:07 -0400
committerirungentoo <irungentoo@gmail.com>2015-06-15 22:11:07 -0400
commit48ef0f3241e0bde931d53c5c7799e8a75c52a481 (patch)
treea268559a3a36ec0c239fdd7fae75604c24aa4321 /toxcore/friend_connection.c
parent4b9425fc6c238b48d879c234e8e99357d6b6c5a2 (diff)
Fixed warning.
Diffstat (limited to 'toxcore/friend_connection.c')
-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.