mirror of
https://github.com/PabloMK7/citra
synced 2024-11-15 13:18:24 +00:00
Derp: win32: typedef int socklen_t;
This commit is contained in:
parent
64815a8b16
commit
0a7d53692a
1 changed files with 0 additions and 4 deletions
|
@ -729,11 +729,7 @@ static void GetSockOpt(Service::Interface* self) {
|
|||
u32 socket_handle = cmd_buffer[1];
|
||||
u32 level = cmd_buffer[2];
|
||||
u32 optname = cmd_buffer[3];
|
||||
#ifdef _WIN32
|
||||
int optlen = (int)cmd_buffer[4];
|
||||
#else
|
||||
socklen_t optlen = (socklen_t)cmd_buffer[4];
|
||||
#endif
|
||||
|
||||
// 0x100 = static buffer offset (bytes)
|
||||
// + 0x4 = 2nd pointer (u32) position
|
||||
|
|
Loading…
Reference in a new issue