Module: wine Branch: master Commit: 711275e2fc7e7ce6227bb17170a19a68c5850523 URL: http://source.winehq.org/git/wine.git/?a=commit;h=711275e2fc7e7ce6227bb17170...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Mar 26 18:00:37 2008 +0100
qmgr: Avoid %ll printf formats.
---
dlls/qmgr/tests/file.c | 6 ++++-- dlls/qmgr/tests/job.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/dlls/qmgr/tests/file.c b/dlls/qmgr/tests/file.c index 05aec1c..033b2c5 100644 --- a/dlls/qmgr/tests/file.c +++ b/dlls/qmgr/tests/file.c @@ -158,8 +158,10 @@ static void test_GetProgress_PreTransfer(void) skip("Unable to get progress of test_file.\n"); return; } - ok(progress.BytesTotal == BG_SIZE_UNKNOWN, "Got incorrect total size: %llu\n", progress.BytesTotal); - ok(progress.BytesTransferred == 0, "Got incorrect number of transferred bytes: %llu\n", progress.BytesTransferred); + ok(progress.BytesTotal == BG_SIZE_UNKNOWN, "Got incorrect total size: %x%08x\n", + (DWORD)(progress.BytesTotal >> 32), (DWORD)progress.BytesTotal); + ok(progress.BytesTransferred == 0, "Got incorrect number of transferred bytes: %x%08x\n", + (DWORD)(progress.BytesTransferred >> 32), (DWORD)progress.BytesTransferred); ok(progress.Completed == FALSE, "Got incorret completion status\n"); }
diff --git a/dlls/qmgr/tests/job.c b/dlls/qmgr/tests/job.c index e504b86..52d4e82 100644 --- a/dlls/qmgr/tests/job.c +++ b/dlls/qmgr/tests/job.c @@ -246,8 +246,10 @@ static void test_GetProgress_preTransfer(void) return; }
- ok(progress.BytesTotal == 0, "Incorrect BytesTotal: %llu\n", progress.BytesTotal); - ok(progress.BytesTransferred == 0, "Incorrect BytesTransferred: %llu\n", progress.BytesTransferred); + ok(progress.BytesTotal == 0, "Incorrect BytesTotal: %x%08x\n", + (DWORD)(progress.BytesTotal >> 32), (DWORD)progress.BytesTotal); + ok(progress.BytesTransferred == 0, "Incorrect BytesTransferred: %x%08x\n", + (DWORD)(progress.BytesTransferred >> 32), (DWORD)progress.BytesTransferred); ok(progress.FilesTotal == 0, "Incorrect FilesTotal: %u\n", progress.FilesTotal); ok(progress.FilesTransferred == 0, "Incorrect FilesTransferred %u\n", progress.FilesTransferred); }