mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
sendto fix for MSVC
This commit is contained in:
parent
d71df5c06f
commit
3c7fc73735
@ -133,8 +133,8 @@ bool netplay_discovery_driver_ctl(enum rarch_netplay_discovery_ctl_state state,
|
||||
ad_packet_buffer.protocol_version = htonl(NETPLAY_PROTOCOL_VERSION);
|
||||
|
||||
/* And send it off */
|
||||
sendto(lan_ad_client_fd, &ad_packet_buffer, 2*sizeof(uint32_t), 0,
|
||||
addr->ai_addr, addr->ai_addrlen);
|
||||
sendto(lan_ad_client_fd, (const char *) &ad_packet_buffer,
|
||||
2*sizeof(uint32_t), 0, addr->ai_addr, addr->ai_addrlen);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user