mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Fix IOCTLV_SO_GETADDRINFO.
It tried to cast incoming pointers to native ones. The values are required to be null anyway, so it doesn't really matter, but it fixes a warning at least.
This commit is contained in:
parent
186527544b
commit
c08f06f8c9
@ -1261,9 +1261,9 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtlV(u32 CommandAddress)
|
|||||||
hints.ai_socktype = Memory::Read_U32(_BufferIn3 + 0x8);
|
hints.ai_socktype = Memory::Read_U32(_BufferIn3 + 0x8);
|
||||||
hints.ai_protocol = Memory::Read_U32(_BufferIn3 + 0xC);
|
hints.ai_protocol = Memory::Read_U32(_BufferIn3 + 0xC);
|
||||||
hints.ai_addrlen = Memory::Read_U32(_BufferIn3 + 0x10);
|
hints.ai_addrlen = Memory::Read_U32(_BufferIn3 + 0x10);
|
||||||
hints.ai_canonname = (char*)Memory::Read_U32(_BufferIn3 + 0x14);
|
hints.ai_canonname = NULL;
|
||||||
hints.ai_addr = (sockaddr *)Memory::Read_U32(_BufferIn3 + 0x18);
|
hints.ai_addr = NULL;
|
||||||
hints.ai_next = (addrinfo *)Memory::Read_U32(_BufferIn3 + 0x1C);
|
hints.ai_next = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
char* pNodeName = NULL;
|
char* pNodeName = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user