summaryrefslogtreecommitdiff
path: root/toxcore/LAN_discovery.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-30 09:27:04 -0700
committerirungentoo <irungentoo@gmail.com>2013-08-30 09:27:04 -0700
commit7110001b58adae7b9f8f56b8bf0cbf532185cec9 (patch)
treeba425c459325ca25f807e6cadbfdeb619ba61de2 /toxcore/LAN_discovery.c
parentb37a016b6be8d6c43c368bb566c2c23962a6e571 (diff)
parent0834e4ba31edc8f5fd1331e4cb0209bbf0447592 (diff)
Merge pull request #545 from stal888/patch-3
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}