mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #545 from stal888/patch-3
Fix build error on non-linux machines.
This commit is contained in:
commit
7110001b58
|
@ -95,7 +95,7 @@ static IP broadcast_ip(void)
|
||||||
ip.uint32 = ~0; /* Error occured, but try anyway? */
|
ip.uint32 = ~0; /* Error occured, but try anyway? */
|
||||||
|
|
||||||
#else
|
#else
|
||||||
ip.i = ~0;
|
ip.uint32 = ~0;
|
||||||
#endif
|
#endif
|
||||||
return ip;
|
return ip;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user