mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Fix const.
This commit is contained in:
parent
eebcea9174
commit
6748d5d087
@ -618,14 +618,14 @@ void WiiSockMan::EnqueueReply(u32 CommandAddress, s32 ReturnValue)
|
||||
}
|
||||
|
||||
|
||||
void WiiSockMan::Convert(WiiSockAddrIn& from, sockaddr_in& to)
|
||||
void WiiSockMan::Convert(WiiSockAddrIn const & from, sockaddr_in& to)
|
||||
{
|
||||
to.sin_addr.s_addr = from.addr.addr;
|
||||
to.sin_family = from.family;
|
||||
to.sin_port = from.port;
|
||||
}
|
||||
|
||||
void WiiSockMan::Convert(sockaddr_in& from, WiiSockAddrIn& to, s32 addrlen)
|
||||
void WiiSockMan::Convert(sockaddr_in const & from, WiiSockAddrIn& to, s32 addrlen)
|
||||
{
|
||||
to.addr.addr = from.sin_addr.s_addr;
|
||||
to.family = from.sin_family;
|
||||
|
@ -206,8 +206,8 @@ public:
|
||||
}
|
||||
void Update();
|
||||
static void EnqueueReply(u32 CommandAddress, s32 ReturnValue);
|
||||
static void Convert(WiiSockAddrIn& const from, sockaddr_in& to);
|
||||
static void Convert(sockaddr_in& const from, WiiSockAddrIn& to, s32 addrlen=-1);
|
||||
static void Convert(WiiSockAddrIn const & from, sockaddr_in& to);
|
||||
static void Convert(sockaddr_in const & from, WiiSockAddrIn& to, s32 addrlen=-1);
|
||||
// NON-BLOCKING FUNCTIONS
|
||||
s32 newSocket(s32 af, s32 type, s32 protocol);
|
||||
s32 delSocket(s32 s);
|
||||
|
Loading…
Reference in New Issue
Block a user