From 8a4c5763dac0a3c8a0d3b776bd5d4529b3f7bf9b Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 12 Jul 2018 15:18:53 +0200 Subject: [PATCH] [NTOS:PS] Use NULL instead of 0 in ps/kill.c --- ntoskrnl/ps/kill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntoskrnl/ps/kill.c b/ntoskrnl/ps/kill.c index 56817838817..1cf69957989 100644 --- a/ntoskrnl/ps/kill.c +++ b/ntoskrnl/ps/kill.c @@ -201,7 +201,7 @@ PspReapRoutine(IN PVOID Context) /* Remove magic value, keep looping if it got changed */ } while (InterlockedCompareExchangePointer((PVOID*)&PspReaperListHead.Flink, - 0, + NULL, (PVOID)1) != (PVOID)1); }