[ros-diffs] [tkreuzer] 36605: fix usage of InterlockedIncrement
tkreuzer at svn.reactos.org
tkreuzer at svn.reactos.org
Wed Oct 1 11:44:54 CEST 2008
Author: tkreuzer
Date: Wed Oct 1 04:44:53 2008
New Revision: 36605
URL: http://svn.reactos.org/svn/reactos?rev=36605&view=rev
Log:
fix usage of InterlockedIncrement
Modified:
branches/ros-amd64-bringup/reactos/lib/3rdparty/libxml2/threads.c
Modified: branches/ros-amd64-bringup/reactos/lib/3rdparty/libxml2/threads.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/3rdparty/libxml2/threads.c?rev=36605&r1=36604&r2=36605&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/3rdparty/libxml2/threads.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/lib/3rdparty/libxml2/threads.c [iso-8859-1] Wed Oct 1 04:44:53 2008
@@ -786,7 +786,7 @@
#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();
More information about the Ros-diffs
mailing list