From 1be929a4b6f914b3bcd2286a4dddfca8f6bc037e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 14 Oct 2008 17:10:43 +0000 Subject: [PATCH] gst/gstquark.c: Fix printf format warning. Original commit message from CVS: * gst/gstquark.c: (_priv_gst_quarks_initialize): Fix printf format warning. --- ChangeLog | 5 +++++ gst/gstquark.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77332c3..4e24455 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-14 Tim-Philipp Müller + + * gst/gstquark.c: (_priv_gst_quarks_initialize): + Fix printf format warning. + 2008-10-14 Sebastian Dröge * plugins/elements/gsttee.c: (gst_tee_handle_buffer): diff --git a/gst/gstquark.c b/gst/gstquark.c index 05ee10c..0b40364 100644 --- a/gst/gstquark.c +++ b/gst/gstquark.c @@ -48,8 +48,8 @@ _priv_gst_quarks_initialize (void) gint i; if (G_N_ELEMENTS (_quark_strings) != GST_QUARK_MAX) - g_warning ("the quark table is not consistent! %ld != %d", - G_N_ELEMENTS (_quark_strings), GST_QUARK_MAX); + g_warning ("the quark table is not consistent! %d != %d", + (int) G_N_ELEMENTS (_quark_strings), GST_QUARK_MAX); for (i = 0; i < GST_QUARK_MAX; i++) { _priv_gst_quark_table[i] = g_quark_from_static_string (_quark_strings[i]); -- 2.7.4