Commit 32974e25 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wintrust/tests: Fix compilation on systems that don't support nameless unions.

parent e42d932c
...@@ -437,7 +437,7 @@ static void test_wintrust(void) ...@@ -437,7 +437,7 @@ static void test_wintrust(void)
wtd.dwUIChoice = WTD_UI_NONE; wtd.dwUIChoice = WTD_UI_NONE;
wtd.fdwRevocationChecks = WTD_REVOKE_WHOLECHAIN; wtd.fdwRevocationChecks = WTD_REVOKE_WHOLECHAIN;
wtd.dwUnionChoice = WTD_CHOICE_FILE; wtd.dwUnionChoice = WTD_CHOICE_FILE;
wtd.pFile = &file; U(wtd).pFile = &file;
wtd.dwStateAction = WTD_STATEACTION_VERIFY; wtd.dwStateAction = WTD_STATEACTION_VERIFY;
memset(&file, 0, sizeof(file)); memset(&file, 0, sizeof(file));
file.cbStruct = sizeof(file); file.cbStruct = sizeof(file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment