mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-21 07:08:34 +00:00
_InterlockedExchange expects a volatile LONG
This commit is contained in:
parent
1017f81f00
commit
6e94a1efbc
@ -74,7 +74,7 @@ static void git__shutdown(void)
|
||||
#if defined(GIT_THREADS) && defined(GIT_WIN32)
|
||||
|
||||
static DWORD _tls_index;
|
||||
static DWORD _mutex = 0;
|
||||
static volatile LONG _mutex = 0;
|
||||
|
||||
static int synchronized_threads_init()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user