mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fix usage of InterlockedIncrement
svn path=/branches/ros-amd64-bringup/; revision=36605
This commit is contained in:
+1
-1
@@ -786,7 +786,7 @@ xmlOnceInit(void) {
|
||||
|
||||
#if defined(HAVE_WIN32_THREADS)
|
||||
if (!run_once.done) {
|
||||
if (InterlockedIncrement(&run_once.control) == 1)
|
||||
if (InterlockedIncrement((PLONG)&run_once.control) == 1)
|
||||
{
|
||||
#if !defined(HAVE_COMPILER_TLS)
|
||||
globalkey = TlsAlloc();
|
||||
|
||||
Reference in New Issue
Block a user