https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8a4c5763dac0a3c8a0d3b776bd5d4529b3f7bf9b

commit 8a4c5763dac0a3c8a0d3b776bd5d4529b3f7bf9b
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Thu Jul 12 15:18:53 2018 +0200
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Wed Mar 6 00:49:59 2019 +0100

    [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 5681783881..1cf6995798 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);
 }
 

Reply via email to