summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/DHT.c2
1 files changed, 1 insertions, 1 deletions
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
573 { 573 {
574 return 1; 574 return 1;
575 } 575 }
576 int num_nodes = (length - 5 - CLIENT_ID_SIZE) / (CLIENT_ID_SIZE + sizeof(IP_Port)); 576 uint32_t num_nodes = (length - 5 - CLIENT_ID_SIZE) / (CLIENT_ID_SIZE + sizeof(IP_Port));
577 uint32_t i; 577 uint32_t i;
578 uint32_t ping_id; 578 uint32_t ping_id;
579 579