mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 16:33:50 +00:00
BACKENDS: ENET: Fix AmigaOS build
There, msg_name is of type char *
This commit is contained in:
parent
e51b9a7325
commit
57f3d6ebf3
@ -448,7 +448,11 @@ enet_socket_send (ENetSocket socket,
|
||||
sin.sin_port = ENET_HOST_TO_NET_16 (address -> port);
|
||||
sin.sin_addr.s_addr = address -> host;
|
||||
|
||||
#ifdef AMIGAOS
|
||||
msgHdr.msg_name = (char *)& sin;
|
||||
#else
|
||||
msgHdr.msg_name = & sin;
|
||||
#endif
|
||||
msgHdr.msg_namelen = sizeof (struct sockaddr_in);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user