mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 18:24:24 +00:00
[NTOSKRNL] Fix 64 bit warnings about conversion in PsExitSpecialApc and PspTerminateThreadByPointer
svn path=/trunk/; revision=75610
This commit is contained in:
parent
8dea5dc526
commit
6c364c895d
|
@ -933,7 +933,7 @@ PsExitSpecialApc(IN PKAPC Apc,
|
||||||
if (Apc->SystemArgument2)
|
if (Apc->SystemArgument2)
|
||||||
{
|
{
|
||||||
/* Free the APC */
|
/* Free the APC */
|
||||||
Status = (NTSTATUS)Apc->NormalContext;
|
Status = PtrToUlong(Apc->NormalContext);
|
||||||
PspExitApcRundown(Apc);
|
PspExitApcRundown(Apc);
|
||||||
|
|
||||||
/* Terminate the Thread */
|
/* Terminate the Thread */
|
||||||
|
@ -1039,7 +1039,7 @@ PspTerminateThreadByPointer(IN PETHREAD Thread,
|
||||||
PspExitApcRundown,
|
PspExitApcRundown,
|
||||||
PspExitNormalApc,
|
PspExitNormalApc,
|
||||||
KernelMode,
|
KernelMode,
|
||||||
(PVOID)ExitStatus);
|
UlongToPtr(ExitStatus));
|
||||||
|
|
||||||
/* Insert it into the APC Queue */
|
/* Insert it into the APC Queue */
|
||||||
if (!KeInsertQueueApc(Apc, Apc, NULL, 2))
|
if (!KeInsertQueueApc(Apc, Apc, NULL, 2))
|
||||||
|
|
Loading…
Reference in a new issue