Remove WinAPI-specific type from socket request

This commit is contained in:
SMarioMan 2023-02-15 09:29:21 -05:00 committed by GitHub
parent a45f6d9438
commit 301e97f7f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}