benchmarks: printf format fixes to make intel compiler happy

https://bugzilla.gnome.org/show_bug.cgi?id=552657
This commit is contained in:
Josep Torra Valles 2012-09-25 01:02:03 +01:00 committed by Tim-Philipp Müller
parent 111fcc6e31
commit 173815bb6d
2 changed files with 3 additions and 3 deletions

View file

@ -90,7 +90,7 @@ main (gint argc, gchar * argv[])
g_slist_free (new_src_list);
end = gst_util_get_timestamp ();
g_print ("%" GST_TIME_FORMAT " - creating and linking %d elements\n",
g_print ("%" GST_TIME_FORMAT " - creating and linking %u elements\n",
GST_TIME_ARGS (end - start), i);
start = gst_util_get_timestamp ();
@ -109,7 +109,7 @@ main (gint argc, gchar * argv[])
GST_MESSAGE_EOS | GST_MESSAGE_ERROR, -1);
end = gst_util_get_timestamp ();
gst_message_unref (msg);
g_print ("%" GST_TIME_FORMAT " - putting %u buffers through\n",
g_print ("%" GST_TIME_FORMAT " - putting %d buffers through\n",
GST_TIME_ARGS (end - start), BUFFER_COUNT);
start = gst_util_get_timestamp ();

View file

@ -125,7 +125,7 @@ run_test (void *threadid)
mess_some_more ();
if (g_timer_elapsed (timer, NULL) > 0.5) {
g_mutex_lock (&fdlock);
g_print ("active fds :%d\n", g_list_length (fds));
g_print ("active fds :%u\n", g_list_length (fds));
g_timer_start (timer);
g_mutex_unlock (&fdlock);
}