From de42bbb8651c172c064fcbce79a0ade2fc2913d6 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 1 Oct 2008 09:44:53 +0000 Subject: [PATCH] fix usage of InterlockedIncrement svn path=/branches/ros-amd64-bringup/; revision=36605 --- reactos/lib/3rdparty/libxml2/threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/3rdparty/libxml2/threads.c b/reactos/lib/3rdparty/libxml2/threads.c index a0958e108d0..8cdda85369f 100644 --- a/reactos/lib/3rdparty/libxml2/threads.c +++ b/reactos/lib/3rdparty/libxml2/threads.c @@ -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();