Fix WSARecvFrom signature

The lpFromLen should be a pointer.
This commit is contained in:
Alexandros Naskos 2020-05-30 16:46:32 +03:00 committed by GitHub
parent 51682717d7
commit dbdacb0938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -728,7 +728,7 @@ pub extern "ws2_32" fn WSARecvFrom(
lpNumberOfBytesRecvd: ?*DWORD,
lpFlags: *DWORD,
lpFrom: ?*sockaddr,
lpFromlen: socklen_t,
lpFromlen: ?*socklen_t,
lpOverlapped: ?*WSAOVERLAPPED,
lpCompletionRoutine: ?WSAOVERLAPPED_COMPLETION_ROUTINE,
) callconv(.Stdcall) c_int;