mirror of
https://github.com/libretro/RetroArch.git
synced 2024-10-09 23:54:30 +00:00
Suppress a warning due to weird declarations on Windows.
This commit is contained in:
parent
d3834bb795
commit
a70e21f328
@ -105,7 +105,7 @@ static int init_tcp_connection(const struct addrinfo *res,
|
||||
int on = 0;
|
||||
if (res->ai_family == AF_INET6)
|
||||
{
|
||||
if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on)) < 0)
|
||||
if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (void*)&on, sizeof(on)) < 0)
|
||||
RARCH_WARN("Failed to listen on both IPv6 and IPv4\n");
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user