summaryrefslogtreecommitdiff
path: root/toxcore/LAN_discovery.c
diff options
context:
space:
mode:
authorstal <stal@pyboard.net>2013-08-30 09:25:22 -0700
committerstal <stal@pyboard.net>2013-08-30 09:25:22 -0700
commit0834e4ba31edc8f5fd1331e4cb0209bbf0447592 (patch)
treeba425c459325ca25f807e6cadbfdeb619ba61de2 /toxcore/LAN_discovery.c
parentb37a016b6be8d6c43c368bb566c2c23962a6e571 (diff)
Fix build error on non-linux machines.
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 cb27c024..ad509da7 100644
--- a/toxcore/LAN_discovery.c
+++ b/toxcore/LAN_discovery.c
@@ -95,7 +95,7 @@ static IP broadcast_ip(void)
95 ip.uint32 = ~0; /* Error occured, but try anyway? */ 95 ip.uint32 = ~0; /* Error occured, but try anyway? */
96 96
97#else 97#else
98 ip.i = ~0; 98 ip.uint32 = ~0;
99#endif 99#endif
100 return ip; 100 return ip;
101} 101}