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_v1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/socket/ntapi_sc_bind_v1.c') diff --git a/src/socket/ntapi_sc_bind_v1.c b/src/socket/ntapi_sc_bind_v1.c index fd7abd5..3e38993 100644 --- a/src/socket/ntapi_sc_bind_v1.c +++ b/src/socket/ntapi_sc_bind_v1.c @@ -38,9 +38,9 @@ int32_t __cdecl __ntapi_sc_bind_v1( __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_msg afd_bind_req; nt_afd_bind_msg afd_bind_rep; -- cgit v1.2.3