From 563a1e17dcddd5b622d07d431a36e74b241993e1 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 12 Aug 2016 08:49:37 -0400 Subject: synchronization block: make all value assignments atomic. --- include/ntapi/nt_sync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/ntapi/nt_sync.h b/include/ntapi/nt_sync.h index 5b28833..99508dd 100644 --- a/include/ntapi/nt_sync.h +++ b/include/ntapi/nt_sync.h @@ -122,7 +122,7 @@ typedef struct _nt_io_completion_basic_information { typedef union __attr_aligned__(NT_SYNC_BLOCK_SIZE) _nt_sync_block { - char cache_line[NT_SYNC_BLOCK_SIZE]; + intptr_t cache_line[NT_SYNC_BLOCK_SIZE/sizeof(intptr_t)]; struct { int32_t tid; int32_t pid; -- cgit v1.2.3