ntdll/tests: Fix a size check for older Windows versions.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51693
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-08-30 10:51:12 +02:00
parent 3596358097
commit 411a8858ac
1 changed files with 1 additions and 1 deletions

View File

@ -883,7 +883,7 @@ static void test_query_cache(void)
status = pNtQuerySystemInformation(SystemFileCacheInformation, sci, i, &ReturnLength);
if (!status)
{
expected = offsetof(SYSTEM_CACHE_INFORMATION, MinimumWorkingSet);
expected = 3 * sizeof(ULONG);
for (; i>= expected; i--)
{
ReturnLength = 0xdeadbeef;