Skip to content

Commit

Permalink
fix recvmsgEx to use correct GUID and size
Browse files Browse the repository at this point in the history
  • Loading branch information
Sythivo committed Jan 30, 2025
1 parent 0df8e23 commit e0f89ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aio/posix/windows.zig
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ pub fn recvmsgEx(sockfd: std.posix.socket_t, msg: *msghdr, _: u32, overlapped: ?
sock,
win_sock.SIO_GET_EXTENSION_FUNCTION_POINTER,
// not in zigwin32
@constCast(@ptrCast(&std.os.windows.ws2_32.WSAID_WSARECVMSG.Data4)),
std.os.windows.ws2_32.WSAID_WSARECVMSG.Data4.len,
@constCast(@ptrCast(&std.os.windows.ws2_32.WSAID_WSARECVMSG)),
@sizeOf(std.os.windows.GUID),
@ptrCast(&fun),
@sizeOf(@TypeOf(fun)),
&trash,
Expand Down

0 comments on commit e0f89ac

Please sign in to comment.