From 2e04e9516e6e560e8c534e00df1d57eab6e6a174 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 14 Aug 2018 19:59:20 -0400 Subject: socket interfaces: async i/o completion: mark nt_iosb as volatile. --- src/socket/ntapi_sc_bind_v2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/socket/ntapi_sc_bind_v2.c') diff --git a/src/socket/ntapi_sc_bind_v2.c b/src/socket/ntapi_sc_bind_v2.c index 1014150..cf463c0 100644 --- a/src/socket/ntapi_sc_bind_v2.c +++ b/src/socket/ntapi_sc_bind_v2.c @@ -35,9 +35,9 @@ int32_t __cdecl __ntapi_sc_bind_v2( __in uint32_t afdflags __optional, __in uint32_t srvflags __optional, __out nt_sockaddr * sockaddr __optional, - __out nt_io_status_block * iosb __optional) + __out nt_iosb volatile * iosb __optional) { - nt_io_status_block siosb; + nt_iosb volatile siosb; nt_afd_bind_request afd_bind_req; nt_afd_bind_reply afd_bind_rep; -- cgit v1.2.3