From 69c71ddd239fe80c2b3b981166d1101f1ac4a418 Mon Sep 17 00:00:00 2001 From: Diadlo Date: Mon, 5 Jun 2017 00:24:02 +0300 Subject: Change return type to be the same as return value type Return value of 'addto_list' function is 'used' counter, which is uint32_t. It will be better to use the same return type. --- toxcore/DHT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore/DHT.h') diff --git a/toxcore/DHT.h b/toxcore/DHT.h index 4b3b45e1..98fa18d6 100644 --- a/toxcore/DHT.h +++ b/toxcore/DHT.h @@ -455,6 +455,6 @@ int DHT_isconnected(const DHT *dht); int DHT_non_lan_connected(const DHT *dht); -int addto_lists(DHT *dht, IP_Port ip_port, const uint8_t *public_key); +uint32_t addto_lists(DHT *dht, IP_Port ip_port, const uint8_t *public_key); #endif -- cgit v1.2.3