Module: wine Branch: master Commit: c8c22e13486f3a48293bad08f7cb38c338593cc8 URL: https://gitlab.winehq.org/wine/wine/-/commit/c8c22e13486f3a48293bad08f7cb38c...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Jul 6 18:12:16 2023 +0200
advapi32/tests: Avoid sizeof() in traces.
---
dlls/advapi32/tests/registry.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c index 9e051056eed..8bffefe8628 100644 --- a/dlls/advapi32/tests/registry.c +++ b/dlls/advapi32/tests/registry.c @@ -4187,9 +4187,7 @@ static void test_performance_keys(void) ok(file_time.l >= systime1.QuadPart - 10000 && file_time.l <= systime2.QuadPart, "got times %I64d, %I64d, %I64d\n", systime1.QuadPart, file_time.l, systime2.QuadPart);
- ok(data->SystemNameLength == (sysname_len + 1) * sizeof(WCHAR), - "expected name len %Iu, got %lu\n", - (sysname_len + 1) * sizeof(WCHAR), data->SystemNameLength); + ok(data->SystemNameLength == (sysname_len + 1) * sizeof(WCHAR), "got %lu\n", data->SystemNameLength); ok(data->SystemNameOffset == sizeof(PERF_DATA_BLOCK), "got name offset %lu\n", data->SystemNameOffset); ok(!wcscmp(sysname, (const WCHAR *)(data + 1)), "expected name %s, got %s\n",