From 1f5ef97a7f004d62d70e8fe9861d5b0d46cd5341 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 30 Aug 2011 11:12:50 +0000 Subject: [PATCH] use unsigned int --- src/mesh/mesh_api_new.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesh/mesh_api_new.c b/src/mesh/mesh_api_new.c index 5ec7a4875..74357e44a 100644 --- a/src/mesh/mesh_api_new.c +++ b/src/mesh/mesh_api_new.c @@ -197,7 +197,7 @@ struct GNUNET_MESH_Tunnel /** * Number of peer added to the tunnel */ - uint32_t npeers; + unsigned int npeers; }; struct GNUNET_MESH_TransmitHandle @@ -726,8 +726,8 @@ GNUNET_MESH_peer_request_connect_add (struct GNUNET_MESH_Tunnel *tunnel, { struct GNUNET_MESH_PeerControl *msg; GNUNET_PEER_Id peer_id; - int i; - + unsigned int i; + peer_id = GNUNET_PEER_intern (peer); for (i = 0; i < tunnel->npeers; i++) { @@ -769,7 +769,7 @@ GNUNET_MESH_peer_request_connect_del (struct GNUNET_MESH_Tunnel *tunnel, { struct GNUNET_MESH_PeerControl *msg; GNUNET_PEER_Id peer_id; - int i; + unsigned int i; peer_id = GNUNET_PEER_search (peer); if (0 == peer_id) -- 2.25.1