https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4aeb45ce0ce9d674bc40b…
commit 4aeb45ce0ce9d674bc40b3ac3fc98bbf3eb7c157
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Sat Sep 12 21:38:06 2020 +0200
Commit: GitHub <noreply(a)github.com>
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;
}
/*