[PDH_WINETEST] Sync with Wine Staging 2.16. CORE-13762
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 21 Oct 2017 12:22:17 +0000 (13:22 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 21 Oct 2017 12:22:17 +0000 (13:22 +0100)
modules/rostests/winetests/pdh/CMakeLists.txt
modules/rostests/winetests/pdh/pdh.c

index 5fe1bbd..6e29a26 100644 (file)
@@ -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)
index f492d5a..573bcc3 100644 (file)
@@ -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) );
         }
     }