Use G_GSSIZE_FORMAT where needed (#577884)
authorAlexander Larsson <alexl@redhat.com>
Wed, 20 May 2009 12:17:27 +0000 (14:17 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 20 May 2009 12:17:27 +0000 (14:17 +0200)
gio/tests/live-g-file.c

index 0b074df..00ca49b 100644 (file)
@@ -458,8 +458,8 @@ test_initial_structure (gconstpointer test_data)
                             PATTERN_FILE_SIZE, NULL, &error);
       g_assert_no_error (error);
       total_read += read;
-      log ("      read %d bytes, total = %d of %d.\n", (int) read,
-          (int) total_read, PATTERN_FILE_SIZE);
+      log ("      read %"G_GSSIZE_FORMAT" bytes, total = %"G_GSSIZE_FORMAT" of %d.\n",
+          read, total_read, PATTERN_FILE_SIZE);
     }
   g_assert_cmpint (total_read, ==, PATTERN_FILE_SIZE);