[glib] slice-color test: don't use non-existent macro



commit 774074f99bcc6237290e5252faf24581d7fe9932
Author: Ryan Lortie <desrt desrt ca>
Date:   Tue May 1 13:48:52 2012 -0700

    slice-color test: don't use non-existent macro
    
    G_GUINT64_MODIFIER doesn't exist, but G_GINT64_MODIFIER does (and will
    be the same as is needed for unsigned).

 tests/slice-color.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/slice-color.c b/tests/slice-color.c
index 6245f5b..ecd38d1 100644
--- a/tests/slice-color.c
+++ b/tests/slice-color.c
@@ -136,7 +136,7 @@ main (int   argc,
       return 1;
     }
 
-  g_printerr ("Will allocate and touch %" G_GUINT64_FORMAT " blocks of %" G_GUINT64_FORMAT " bytes (= %" G_GUINT64_FORMAT " bytes) %" G_GUINT64_FORMAT " times with color increment: 0x%08" G_GUINT64_MODIFIER "x\n",
+  g_printerr ("Will allocate and touch %" G_GUINT64_FORMAT " blocks of %" G_GUINT64_FORMAT " bytes (= %" G_GUINT64_FORMAT " bytes) %" G_GUINT64_FORMAT " times with color increment: 0x%08" G_GINT64_MODIFIER "x\n",
               n_blocks, block_size, n_blocks * block_size, repeats,
 	      (guint64)g_slice_get_config (G_SLICE_CONFIG_COLOR_INCREMENT));
 



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