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/3…
==============================================================================
--- 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();