Author: tkreuzer
Date: Fri Aug 18 12:31:19 2017
New Revision: 75610
URL:
http://svn.reactos.org/svn/reactos?rev=75610&view=rev
Log:
[NTOSKRNL] Fix 64 bit warnings about conversion in PsExitSpecialApc and
PspTerminateThreadByPointer
Modified:
trunk/reactos/ntoskrnl/ps/kill.c
Modified: trunk/reactos/ntoskrnl/ps/kill.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/kill.c?rev=756…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] Fri Aug 18 12:31:19 2017
@@ -933,7 +933,7 @@
if (Apc->SystemArgument2)
{
/* Free the APC */
- Status = (NTSTATUS)Apc->NormalContext;
+ Status = PtrToUlong(Apc->NormalContext);
PspExitApcRundown(Apc);
/* Terminate the Thread */
@@ -1039,7 +1039,7 @@
PspExitApcRundown,
PspExitNormalApc,
KernelMode,
- (PVOID)ExitStatus);
+ UlongToPtr(ExitStatus));
/* Insert it into the APC Queue */
if (!KeInsertQueueApc(Apc, Apc, NULL, 2))