rtpulpfec: fix debug log printf format warning on 32-bit platforms
authorArnaud Bonatti <arnaud.bonatti@gmail.com>
Thu, 22 Feb 2018 20:53:40 +0000 (21:53 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 23 Feb 2018 10:02:23 +0000 (10:02 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=793732

gst/rtp/gstrtpulpfecdec.c

index 28a0a69..eba3436 100644 (file)
@@ -414,7 +414,7 @@ gst_rtp_ulpfec_dec_handle_sink_event (GstPad * pad, GstObject * parent,
     else
       ++self->packets_recovered;
     GST_DEBUG_OBJECT (self, "Unrecovered / Recovered: %lu / %lu",
-        self->packets_unrecovered, self->packets_recovered);
+        (gulong) self->packets_unrecovered, (gulong) self->packets_recovered);
   } else if (GST_EVENT_CAPS == GST_EVENT_TYPE (event)) {
     GstCaps *caps;
     gboolean have_caps_pt = FALSE;