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

Francois Gouget fgouget at free.fr
Thu Oct 11 11:33:40 CDT 2007


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

diff --git a/dlls/pdh/tests/pdh.c b/dlls/pdh/tests/pdh.c
index 7a9770d..f0a33fa 100644
--- a/dlls/pdh/tests/pdh.c
+++ b/dlls/pdh/tests/pdh.c
@@ -845,7 +845,7 @@ static void test_PdhCollectQueryDataEx(void)
             status = PdhGetFormattedCounterValue( counter, PDH_FMT_LARGE, NULL, &value );
             ok(status == ERROR_SUCCESS, "PdhGetFormattedCounterValue failed 0x%08x\n", status);
 
-            trace( "uptime %x%08x\n", (DWORD)(value.largeValue >> 32), (DWORD)value.largeValue );
+            trace( "uptime %x%08x\n", (DWORD)(U(value).largeValue >> 32), (DWORD)U(value).largeValue );
         }
     }
 
-- 
1.5.3.2




More information about the wine-patches mailing list