summaryrefslogtreecommitdiffhomepage
path: root/src/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc')
-rw-r--r--src/ipc/ntapi_ipc_connect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipc/ntapi_ipc_connect.c b/src/ipc/ntapi_ipc_connect.c
index 16f725e..eacbff2 100644
--- a/src/ipc/ntapi_ipc_connect.c
+++ b/src/ipc/ntapi_ipc_connect.c
@@ -12,8 +12,8 @@
#include "ntapi_impl.h"
static int32_t __ipc_connect_return(
- intptr_t * hlock,
- int32_t status)
+ intptr_t volatile * hlock,
+ int32_t status)
{
at_store(hlock,0);
return status;
@@ -300,7 +300,7 @@ static int32_t __ipc_connect_by_attr(
const nt_port_attr * conn;
nt_port_attr * nconn;
nt_ipc_conn * ipc;
- intptr_t * hlock;
+ intptr_t volatile * hlock;
nt_rtdata * rtdata;
ntapi_internals * __internals;