Dmitry Timoshkov : advapi32/tests: Fix compilation with PSDK compiler.

Alexandre Julliard julliard at winehq.org
Tue Nov 10 15:30:25 CST 2020


Module: wine
Branch: master
Commit: 65cab573abe748974f20195083d7bd3d64f63e7f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=65cab573abe748974f20195083d7bd3d64f63e7f

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Tue Nov 10 20:53:05 2020 +0300

advapi32/tests: Fix compilation with PSDK compiler.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/advapi32/tests/lsa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/advapi32/tests/lsa.c b/dlls/advapi32/tests/lsa.c
index f2e10671a47..54a8528bc21 100644
--- a/dlls/advapi32/tests/lsa.c
+++ b/dlls/advapi32/tests/lsa.c
@@ -336,7 +336,7 @@ static void test_LsaLookupSids(void)
 {
     WCHAR langW[32];
     char user_buffer[64];
-    LSA_OBJECT_ATTRIBUTES attrs = {.Length = sizeof(attrs)};
+    LSA_OBJECT_ATTRIBUTES attrs = {sizeof(attrs)};
     TOKEN_USER *user = (TOKEN_USER *)user_buffer;
     WCHAR computer_name[64], user_name[64];
     LSA_REFERENCED_DOMAIN_LIST *list;




More information about the wine-cvs mailing list