diff options
author | robot-contrib <[email protected]> | 2024-12-18 07:30:21 +0300 |
---|---|---|
committer | robot-contrib <[email protected]> | 2024-12-18 08:30:53 +0300 |
commit | 6e2202781bb80bcb9deff0954798b0c1e5c278ef (patch) | |
tree | 989c103ea642049140ebb24bba3bd6d8491974d0 /contrib/restricted/boost/container/src | |
parent | f77d5dbcf98390de8aa4bbaf6d8dd00b43f6b176 (diff) |
Update contrib/restricted/boost/container to 1.87.0
commit_hash:4cd32daab084699bd246b2d2a67a29bf1013a94c
Diffstat (limited to 'contrib/restricted/boost/container/src')
-rw-r--r-- | contrib/restricted/boost/container/src/dlmalloc_2_8_6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/restricted/boost/container/src/dlmalloc_2_8_6.c b/contrib/restricted/boost/container/src/dlmalloc_2_8_6.c index 63ef0d3fb8a..db6b8235cb2 100644 --- a/contrib/restricted/boost/container/src/dlmalloc_2_8_6.c +++ b/contrib/restricted/boost/container/src/dlmalloc_2_8_6.c @@ -1853,8 +1853,8 @@ static FORCEINLINE void x86_clear_lock(int* sl) { #define CLEAR_LOCK(sl) x86_clear_lock(sl) #else /* Win32 MSC */ -#define CAS_LOCK(sl) interlockedexchange(sl, (LONG)1) -#define CLEAR_LOCK(sl) interlockedexchange (sl, (LONG)0) +#define CAS_LOCK(sl) interlockedexchange((volatile long*)sl, (LONG)1) +#define CLEAR_LOCK(sl) interlockedexchange ((volatile long*)sl, (LONG)0) #endif /* ... gcc spins locks ... */ |