diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c index cb27c024..ad509da7 100644 --- a/toxcore/LAN_discovery.c +++ b/toxcore/LAN_discovery.c @@ -95,7 +95,7 @@ static IP broadcast_ip(void) ip.uint32 = ~0; /* Error occured, but try anyway? */ #else - ip.i = ~0; + ip.uint32 = ~0; #endif return ip; }