Author: tkreuzer
Date: Fri Sep 5 18:53:36 2008
New Revision: 35971
URL:
http://svn.reactos.org/svn/reactos?rev=35971&view=rev
Log:
more pointer <-> ULONG cast fixes
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/ex/work.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ex/work.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ex/work.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ex/work.c [iso-8859-1] Fri Sep 5 18:53:36
2008
@@ -147,7 +147,7 @@
TimeoutPointer);
/* Check if we timed out and quit this loop in that case */
- if ((NTSTATUS)QueueEntry == STATUS_TIMEOUT) break;
+ if ((NTSTATUS)(ULONG_PTR)QueueEntry == STATUS_TIMEOUT) break;
/* Increment Processed Work Items */
InterlockedIncrement((PLONG)&WorkQueue->WorkItemsProcessed);
@@ -271,7 +271,7 @@
NULL,
NULL,
ExpWorkerThreadEntryPoint,
- (PVOID)Context);
+ UlongToPtr(Context));
/* If the thread is dynamic */
if (Dynamic)