Alexandre Julliard : mmdevapi/tests: Avoid %ll printf format.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 2 09:47:13 CST 2015
Module: wine
Branch: master
Commit: bc9a95bb517b0aedb8d3e505a6bb579fe35b6bb0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bc9a95bb517b0aedb8d3e505a6bb579fe35b6bb0
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat Oct 31 15:02:29 2015 +0900
mmdevapi/tests: Avoid %ll printf format.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mmdevapi/tests/render.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/mmdevapi/tests/render.c b/dlls/mmdevapi/tests/render.c
index be17a0d..298c886 100644
--- a/dlls/mmdevapi/tests/render.c
+++ b/dlls/mmdevapi/tests/render.c
@@ -337,7 +337,8 @@ static void test_audioclient(void)
(UINT)(t2/10000), (UINT)(t2 % 10000));
ok(t2 >= t1 || broken(t2 >= t1/2 && pwfx->nSamplesPerSec > 48000) ||
broken(t2 == 0) /* (!) win10 */,
- "Latency < default period, delta %ldus (%llu vs %llu)\n", (long)((t2-t1)/10), t2, t1);
+ "Latency < default period, delta %dus (%x%08x vs %x%08x)\n",
+ (LONG)((t2-t1)/10), (DWORD)(t2 >> 32), (DWORD)t2, (DWORD)(t1 >> 32), (DWORD)t1);
/* Native appears to add the engine period to the HW latency in shared mode */
if(t2 == 0)
win10 = TRUE;
More information about the wine-cvs
mailing list