summaryrefslogtreecommitdiff
path: root/toxcore/LAN_discovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/LAN_discovery.c')
-rw-r--r--toxcore/LAN_discovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c
index 1c28756b..d2bfb4e1 100644
--- a/toxcore/LAN_discovery.c
+++ b/toxcore/LAN_discovery.c
@@ -323,7 +323,7 @@ int LAN_ip(IP ip)
323 323
324static int handle_LANdiscovery(void *object, IP_Port source, const uint8_t *packet, uint16_t length, void *userdata) 324static int handle_LANdiscovery(void *object, IP_Port source, const uint8_t *packet, uint16_t length, void *userdata)
325{ 325{
326 DHT *dht = object; 326 DHT *dht = (DHT *)object;
327 327
328 if (LAN_ip(source.ip) == -1) { 328 if (LAN_ip(source.ip) == -1) {
329 return 1; 329 return 1;