Alexandre Julliard : ntdll/tests: Fix a size check for older Windows versions.
Alexandre Julliard
julliard at winehq.org
Mon Aug 30 15:53:52 CDT 2021
Module: wine
Branch: master
Commit: 411a8858acb35459a68a6b5a0ab26aad364a16e7
URL: https://source.winehq.org/git/wine.git/?a=commit;h=411a8858acb35459a68a6b5a0ab26aad364a16e7
Author: Alexandre Julliard <julliard at 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 at 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;
More information about the wine-cvs
mailing list