https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4aeb45ce0ce9d674bc40b3ac3fc98bbf3eb7c157

commit 4aeb45ce0ce9d674bc40b3ac3fc98bbf3eb7c157
Author:     Serge Gautherie <[email protected]>
AuthorDate: Sat Sep 12 21:38:06 2020 +0200
Commit:     GitHub <[email protected]>
CommitDate: Sat Sep 12 21:38:06 2020 +0200

    [KERNEL32] GetPriorityClass(): Return explicit 0, not FALSE (match return 
type) (#3170)
---
 dll/win32/kernel32/client/proc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dll/win32/kernel32/client/proc.c b/dll/win32/kernel32/client/proc.c
index 9b680eb5330..cba4cf6a1e6 100644
--- a/dll/win32/kernel32/client/proc.c
+++ b/dll/win32/kernel32/client/proc.c
@@ -1683,7 +1683,7 @@ GetPriorityClass(IN HANDLE hProcess)
 
     /* Failure path */
     BaseSetLastNTError(Status);
-    return FALSE;
+    return 0;
 }
 
 /*

Reply via email to