From 0834e4ba31edc8f5fd1331e4cb0209bbf0447592 Mon Sep 17 00:00:00 2001 From: stal Date: Fri, 30 Aug 2013 09:25:22 -0700 Subject: [PATCH] Fix build error on non-linux machines. --- toxcore/LAN_discovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }