projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
110b3a6
)
use unsigned int
author
Christian Grothoff
<christian@grothoff.org>
Tue, 30 Aug 2011 11:12:50 +0000
(11:12 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 30 Aug 2011 11:12:50 +0000
(11:12 +0000)
src/mesh/mesh_api_new.c
patch
|
blob
|
history
diff --git
a/src/mesh/mesh_api_new.c
b/src/mesh/mesh_api_new.c
index 5ec7a4875e0bcc3486a105e90e432b6281fb8c2a..74357e44abfb94aebc09dcac72a693aed794e28a 100644
(file)
--- 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
*/
- u
int32_
t npeers;
+ u
nsigned in
t 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)