qmgr: Avoid %ll printf formats.
authorAlexandre Julliard <julliard@winehq.org>
Wed, 26 Mar 2008 17:00:37 +0000 (18:00 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 26 Mar 2008 17:00:37 +0000 (18:00 +0100)
dlls/qmgr/tests/file.c
dlls/qmgr/tests/job.c

index 05aec1c8b406caf40761cf500eccf1edbd2b58a5..033b2c500f04d2d67b97b72177da771026a04440 100644 (file)
@@ -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");
 }
 
index e504b862b74bbc414e9ef0f63e83cd55654df77d..52d4e8296d037f716e11b1b159d917f93e914a2d 100644 (file)
@@ -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);
 }