https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2f9927dddcba9deb08083…
commit 2f9927dddcba9deb08083be8340a800a5ab385c5
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Oct 21 13:22:17 2017 +0100
[PDH_WINETEST] Sync with Wine Staging 2.16. CORE-13762
---
modules/rostests/winetests/pdh/CMakeLists.txt | 1 +
modules/rostests/winetests/pdh/pdh.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/rostests/winetests/pdh/CMakeLists.txt
b/modules/rostests/winetests/pdh/CMakeLists.txt
index 5fe1bbd003..6e29a26a6b 100644
--- a/modules/rostests/winetests/pdh/CMakeLists.txt
+++ b/modules/rostests/winetests/pdh/CMakeLists.txt
@@ -1,4 +1,5 @@
+add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG)
add_executable(pdh_winetest pdh.c testlist.c)
set_module_type(pdh_winetest win32cui)
add_importlibs(pdh_winetest pdh msvcrt kernel32)
diff --git a/modules/rostests/winetests/pdh/pdh.c b/modules/rostests/winetests/pdh/pdh.c
index f492d5a599..573bcc3a10 100644
--- a/modules/rostests/winetests/pdh/pdh.c
+++ b/modules/rostests/winetests/pdh/pdh.c
@@ -854,7 +854,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)(U(value).largeValue >> 32),
(DWORD)U(value).largeValue );
+ trace( "uptime %s\n", wine_dbgstr_longlong(U(value).largeValue) );
}
}