authorgravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-11-22 14:49:24+11:00
committergravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-11-27 13:01:28+11:00
log254c79125b7bc664ef2bfa1e81dcd170ab49aef2
treeeed34a9e97b06d523ed76790a04d81310c739ff7
parentd99f0a2b8fc3c8617e95396d3c308fccf8beceb6
signature Commit is signed but in an unrecognized format.

std: fix WSAIoctl definition

zig automatically passes functions as pointers

2 files changed, 2 insertions(+), 2 deletions(-)

lib/std/os/windows.zig+1-1
......@@ -708,7 +708,7 @@ pub fn WSAIoctl(
708708 inBuffer: ?[]const u8,
709709 outBuffer: []u8,
710710 overlapped: ?*ws2_32.WSAOVERLAPPED,
711 completionRoutine: ?*ws2_32.WSAOVERLAPPED_COMPLETION_ROUTINE,
711 completionRoutine: ?ws2_32.WSAOVERLAPPED_COMPLETION_ROUTINE,
712712) !DWORD {
713713 var bytes: DWORD = undefined;
714714 switch (ws2_32.WSAIoctl(
lib/std/os/windows/ws2_32.zig+1-1
......@@ -250,5 +250,5 @@ pub extern "ws2_32" stdcallcc fn WSAIoctl(
250250 cbOutBuffer: DWORD,
251251 lpcbBytesReturned: LPDWORD,
252252 lpOverlapped: ?*WSAOVERLAPPED,
253 lpCompletionRoutine: ?*WSAOVERLAPPED_COMPLETION_ROUTINE,
253 lpCompletionRoutine: ?WSAOVERLAPPED_COMPLETION_ROUTINE,
254254) c_int;