Commit 411a8858 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 35963580
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment