From 5d70f9c119d1ca9ff5ab1b6500cbc62b76936775 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Tue, 25 Jun 2013 17:50:30 -0400 Subject: Fixed a line in DHT.c and clarified something in DHT_test.c. --- core/DHT.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/DHT.c') diff --git a/core/DHT.c b/core/DHT.c index ef04a391..2b9d7157 100644 --- a/core/DHT.c +++ b/core/DHT.c @@ -573,7 +573,7 @@ int handle_sendnodes(char * packet, uint32_t length, IP_Port source)//tested { return 1; } - int num_nodes = (length - 5 - CLIENT_ID_SIZE) / (CLIENT_ID_SIZE + sizeof(IP_Port)); + uint32_t num_nodes = (length - 5 - CLIENT_ID_SIZE) / (CLIENT_ID_SIZE + sizeof(IP_Port)); uint32_t i; uint32_t ping_id; -- cgit v1.2.3