[gst-cvs] gstreamer: registrychunks: Fix a printf compile warning on 64-bit platforms

Jan Schmidt thaytan at kemper.freedesktop.org
Wed Nov 4 09:55:01 PST 2009


Module: gstreamer
Branch: master
Commit: 94bb0ee7187e3f59c805f684bb6c79566cd9aa1a
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=94bb0ee7187e3f59c805f684bb6c79566cd9aa1a

Author: Jan Schmidt <thaytan at noraisin.net>
Date:   Wed Nov  4 17:52:21 2009 +0000

registrychunks: Fix a printf compile warning on 64-bit platforms

---

 gst/gstregistrychunks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/gstregistrychunks.c b/gst/gstregistrychunks.c
index 75653d1..12e0f5a 100644
--- a/gst/gstregistrychunks.c
+++ b/gst/gstregistrychunks.c
@@ -810,6 +810,6 @@ _priv_gst_registry_chunks_load_plugin (GstRegistry * registry, gchar ** in,
 
   /* Errors */
 fail:
-  GST_INFO ("Reading plugin failed after %d bytes", end - start);
+  GST_INFO ("Reading plugin failed after %u bytes", (guint) (end - start));
   return FALSE;
 }





More information about the Gstreamer-commits mailing list