Francois Gouget : crypt32/tests: Fix compilation on systems that don' t support nameless unions.

Alexandre Julliard julliard at winehq.org
Tue Dec 8 11:10:38 CST 2009


Module: wine
Branch: master
Commit: d1e592ad20dcacdce40a64775a260ec594061c21
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d1e592ad20dcacdce40a64775a260ec594061c21

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Dec  8 12:26:13 2009 +0100

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

---

 dlls/crypt32/tests/chain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c
index 4192e11..a626b82 100644
--- a/dlls/crypt32/tests/chain.c
+++ b/dlls/crypt32/tests/chain.c
@@ -4018,7 +4018,7 @@ static void check_ssl_policy(void)
     /* And again authenticating a client, but specify the size of the policy
      * parameter.
      */
-    sslPolicyPara.cbSize = sizeof(sslPolicyCheck);
+    U(sslPolicyPara).cbSize = sizeof(sslPolicyCheck);
     sslPolicyPara.dwAuthType = AUTHTYPE_CLIENT;
     for (i = 0;
      i < sizeof(sslPolicyCheck) / sizeof(sslPolicyCheck[0]); i++)




More information about the wine-cvs mailing list