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

Alexandre Julliard julliard at winehq.org
Tue Sep 7 11:22:57 CDT 2010


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Sep  7 15:28:27 2010 +0200

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

---

 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;




More information about the wine-cvs mailing list