[glib] Use G_GSSIZE_FORMAT where needed (#577884)



commit 6a9df8256aaccd717aaa7582c704093d727699fe
Author: Alexander Larsson <alexl redhat com>
Date:   Wed May 20 14:17:27 2009 +0200

    Use G_GSSIZE_FORMAT where needed (#577884)
---
 gio/tests/live-g-file.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gio/tests/live-g-file.c b/gio/tests/live-g-file.c
index 0b074df..00ca49b 100644
--- a/gio/tests/live-g-file.c
+++ b/gio/tests/live-g-file.c
@@ -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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]