mirror of
https://github.com/rock88/moonlight-nx
synced 2024-11-22 11:33:11 +00:00
Fix Win32 build
This commit is contained in:
parent
9f0a2c0740
commit
034be2f417
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ GSResult<bool> send_packet_win32(const Host &host, const Data &payload) {
|
|||
udpServer.sin_port = htons(9);
|
||||
|
||||
// Send the packet
|
||||
sendto(udpSocket, payload.bytes(), sizeof(unsigned char) * 102, 0, (struct sockaddr*) &udpServer, sizeof(udpServer));
|
||||
sendto(udpSocket, (const char *)payload.bytes(), sizeof(unsigned char) * 102, 0, (struct sockaddr*) &udpServer, sizeof(udpServer));
|
||||
return GSResult<bool>::success(true);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue