Author: tkreuzer
Date: Sun May 11 17:09:53 2008
New Revision: 33453
URL:
http://svn.reactos.org/svn/reactos?rev=33453&view=rev
Log:
a "real" InterlockedExchangePointer wants PVOID* and nothing else.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/class.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/class.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/class.c [iso-8859-1] Sun May 11 17:09:53
2008
@@ -467,7 +467,7 @@
Class->Next = BaseClass->Next;
/* replace the base class */
- (void)InterlockedExchangePointer(ClassLink,
+ (void)InterlockedExchangePointer((PVOID*)ClassLink,
Class);
/* destroy the obsolete copy on the shared heap */
@@ -552,7 +552,7 @@
}
/* link in the new base class */
- (void)InterlockedExchangePointer(BaseClassLink,
+ (void)InterlockedExchangePointer((PVOID*)BaseClassLink,
Class);
}
@@ -620,7 +620,7 @@
ASSERT(CurrentClass == Class);
- (void)InterlockedExchangePointer(PrevLink,
+ (void)InterlockedExchangePointer((PVOID*)PrevLink,
Class->Next);
ASSERT(Class->Base == BaseClass);
@@ -658,7 +658,7 @@
NewClass->Base = NewClass;
/* replace the class in the list */
- (void)InterlockedExchangePointer(*ClassLinkPtr,
+ (void)InterlockedExchangePointer((PVOID*)*ClassLinkPtr,
NewClass);
*ClassLinkPtr = &NewClass->Next;
@@ -719,7 +719,7 @@
if (FreeOnFailure)
{
/* unlink the base class */
- (void)InterlockedExchangePointer(Link,
+ (void)InterlockedExchangePointer((PVOID*)Link,
Class->Next);
/* we can free the old base class now */
@@ -1191,7 +1191,7 @@
List = &pi->LocalClassList;
Class->Next = *List;
- (void)InterlockedExchangePointer(List,
+ (void)InterlockedExchangePointer((PVOID*)List,
Class);
Ret = Class->Atom;
@@ -1850,7 +1850,7 @@
ASSERT(Class->System);
Class->Next = pi->SystemClassList;
- (void)InterlockedExchangePointer(&pi->SystemClassList,
+ (void)InterlockedExchangePointer((PVOID*)&pi->SystemClassList,
Class);
}
else