msi/tests: Fix compilation on systems that don't support nameless unions or structs.

Francois Gouget fgouget at free.fr
Tue Sep 7 08:28:27 CDT 2010


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

diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c
index 225a0e3..fef79de 100644
--- a/dlls/msi/tests/package.c
+++ b/dlls/msi/tests/package.c
@@ -9666,7 +9666,7 @@ static void test_installprops(void)
     if (pGetSystemInfo)
     {
         pGetSystemInfo(&si);
-        if (si.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64)
+        if (S(U(si)).wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64)
         {
             buf[0] = 0;
             size = MAX_PATH;
-- 
1.7.1



More information about the wine-patches mailing list