Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
---
dlls/kernel32/tests/process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/tests/process.c b/dlls/kernel32/tests/process.c
index c1312bd8916..4a6451a23fe 100644
--- a/dlls/kernel32/tests/process.c
+++ b/dlls/kernel32/tests/process.c
@@ -3773,7 +3773,7 @@ static void test_process_info(HANDLE hproc)
return;
}
- for (i = 0; i < MaxProcessInfoClass; i++)
+ for (i = 0; i < ARRAY_SIZE(info_size); i++)
{
ret_len = 0;
status = pNtQueryInformationProcess(hproc, i, buf, info_size[i], &ret_len);
--
2.35.1