Author: tkreuzer
Date: Fri Jul 25 08:37:45 2008
New Revision: 34781
URL:
http://svn.reactos.org/svn/reactos?rev=34781&view=rev
Log:
fix usage of InterlockedCompareExchangePointer
Modified:
branches/ros-amd64-bringup/reactos/subsystems/win32/win32k/eng/engwindow.c
Modified: branches/ros-amd64-bringup/reactos/subsystems/win32/win32k/eng/engwindow.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/subsy…
==============================================================================
--- branches/ros-amd64-bringup/reactos/subsystems/win32/win32k/eng/engwindow.c
[iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/subsystems/win32/win32k/eng/engwindow.c
[iso-8859-1] Fri Jul 25 08:37:45 2008
@@ -134,7 +134,7 @@
RtlCopyMemory(&WndObjInt->WndObj.coClient, ClipObj, sizeof (CLIPOBJ));
RtlCopyMemory(&WndObjInt->WndObj.rclClient, &Window->Wnd->ClientRect,
sizeof (RECT));
- OldClipObj = InterlockedExchangePointer(&WndObjInt->ClientClipObj, ClipObj);
+ OldClipObj = InterlockedExchangePointer((PVOID*)&WndObjInt->ClientClipObj,
ClipObj);
if (OldClipObj != NULL)
IntEngDeleteClipRegion(OldClipObj);