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:
parent
3596358097
commit
411a8858ac
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue