Module: wine Branch: master Commit: 411a8858acb35459a68a6b5a0ab26aad364a16e7 URL: https://source.winehq.org/git/wine.git/?a=commit;h=411a8858acb35459a68a6b5a0...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Aug 30 10:51:12 2021 +0200
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
---
dlls/ntdll/tests/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c index e642427bffb..7b6f947569a 100644 --- a/dlls/ntdll/tests/info.c +++ b/dlls/ntdll/tests/info.c @@ -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;