mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Remove WinAPI-specific type from socket request
This commit is contained in:
parent
a45f6d9438
commit
301e97f7f7
1 changed files with 1 additions and 1 deletions
|
@ -873,7 +873,7 @@ s32 WiiSockMan::AddSocket(s32 fd, bool is_rw)
|
|||
ERROR_LOG_FMT(IOS_NET, "Failed to set SO_NOSIGPIPE on socket");
|
||||
#endif
|
||||
|
||||
BOOL opt_broadcast = TRUE;
|
||||
int opt_broadcast = 1;
|
||||
setsockopt(fd, SOL_SOCKET, SO_BROADCAST, (char*)&opt_broadcast, sizeof(opt_broadcast));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue