summaryrefslogtreecommitdiff
path: root/src/global.c
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-05-19 12:20:31 +0200
committerVicent Marti <vicent@github.com>2014-05-19 12:20:31 +0200
commit138af33717063df8221a44a056370fbcc6c5291b (patch)
treea7daa37e1a289ec45632c3211e7779ef50655ee3 /src/global.c
parentb2a4be1d42bf5e3433f0a97c2e80ce37d169cf55 (diff)
parentf5dd2a289106c74647d35560eee55a48ff0f123f (diff)
downloadlibgit2-138af33717063df8221a44a056370fbcc6c5291b.tar.gz
Merge pull request #2303 from jacquesg/mingw-lseek
WIP: Windows fixes
Diffstat (limited to 'src/global.c')
-rw-r--r--src/global.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.c b/src/global.c
index 4dfdcf438..7da31853e 100644
--- a/src/global.c
+++ b/src/global.c
@@ -76,7 +76,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()
{