From 32974e25a2d1cb0d429f6f4e5b27677443ed216b Mon Sep 17 00:00:00 2001
From: Francois Gouget <fgouget@free.fr>
Date: Sun, 20 Jul 2008 22:39:26 +0200
Subject: [PATCH] wintrust/tests: Fix compilation on systems that don't support
 nameless unions.

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

diff --git a/dlls/wintrust/tests/softpub.c b/dlls/wintrust/tests/softpub.c
index aa27333cdd0..01902dd09fb 100644
--- a/dlls/wintrust/tests/softpub.c
+++ b/dlls/wintrust/tests/softpub.c
@@ -437,7 +437,7 @@ static void test_wintrust(void)
     wtd.dwUIChoice = WTD_UI_NONE;
     wtd.fdwRevocationChecks = WTD_REVOKE_WHOLECHAIN;
     wtd.dwUnionChoice = WTD_CHOICE_FILE;
-    wtd.pFile = &file;
+    U(wtd).pFile = &file;
     wtd.dwStateAction = WTD_STATEACTION_VERIFY;
     memset(&file, 0, sizeof(file));
     file.cbStruct = sizeof(file);
-- 
GitLab