Francois Gouget : pdh/tests: Fix compilation on systems that don' t support nameless unions.
Alexandre Julliard
julliard at winehq.org
Fri Oct 12 05:22:56 CDT 2007
Module: wine
Branch: master
Commit: 63a87554575bfffdbaa1e5ce50fa6b14bb9f28f3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=63a87554575bfffdbaa1e5ce50fa6b14bb9f28f3
Author: Francois Gouget <fgouget at free.fr>
Date: Thu Oct 11 18:33:40 2007 +0200
pdh/tests: Fix compilation on systems that don't support nameless unions.
---
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 );
}
}
More information about the wine-cvs
mailing list