X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fslice-color.c;h=ecd38d14aec238d52f06888550e6fb337dc00df2;hb=6d88a2f82294ffd6f75436e3f8e72b30fd591a03;hp=c4a417d2467d58497998dee6dded579cfa3eef1b;hpb=63adeda0861a26b38ec0adc76255666554c18951;p=platform%2Fupstream%2Fglib.git diff --git a/tests/slice-color.c b/tests/slice-color.c index c4a417d..ecd38d1 100644 --- a/tests/slice-color.c +++ b/tests/slice-color.c @@ -131,13 +131,14 @@ main (int argc, /* basic sanity checks */ if (!block_size || !n_blocks || block_size >= area_size) { - g_printerr ("Invalid arguments: block-size=%llu memory-size=%llu\n", block_size, area_size); + g_printerr ("Invalid arguments: block-size=%" G_GUINT64_FORMAT " memory-size=%" G_GUINT64_FORMAT "\n", block_size, area_size); usage(); return 1; } - g_printerr ("Will allocate and touch %llu blocks of %llu bytes (= %llu bytes) %llu times with color increment: 0x%08llx\n", - n_blocks, block_size, n_blocks * block_size, repeats, g_slice_get_config (G_SLICE_CONFIG_COLOR_INCREMENT)); + 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)); touch_mem (block_size, n_blocks, repeats);