From 48ef0f3241e0bde931d53c5c7799e8a75c52a481 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Mon, 15 Jun 2015 22:11:07 -0400 Subject: [PATCH] Fixed warning. --- toxcore/friend_connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) n = copy_connected_tcp_relays(fr_c->net_crypto, nodes, MAX_SHARED_RELAYS); - unsigned int i; + int i; for (i = 0; i < n; ++i) { /* Associated the relays being sent with this connection.