summaryrefslogtreecommitdiff
path: root/toxcore/DHT.h
diff options
context:
space:
mode:
authorDiadlo <polsha3@gmail.com>2017-06-05 00:24:02 +0300
committerDiadlo <polsha3@gmail.com>2017-06-05 01:51:12 +0300
commit69c71ddd239fe80c2b3b981166d1101f1ac4a418 (patch)
treea06c0cc18212959168e5939dac5b95621c15aeb3 /toxcore/DHT.h
parent6197494d6b96591ae0164c66602c5306c31a9c44 (diff)
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.
Diffstat (limited to 'toxcore/DHT.h')
-rw-r--r--toxcore/DHT.h2
1 files changed, 1 insertions, 1 deletions
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);
455int DHT_non_lan_connected(const DHT *dht); 455int DHT_non_lan_connected(const DHT *dht);
456 456
457 457
458int addto_lists(DHT *dht, IP_Port ip_port, const uint8_t *public_key); 458uint32_t addto_lists(DHT *dht, IP_Port ip_port, const uint8_t *public_key);
459 459
460#endif 460#endif