From ffe9cbc1f6866457e04976bfdbd05da0e87b7769 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Wed, 8 Jul 2015 08:59:49 +0900 Subject: [PATCH] rtpklvdepay: fix printf format compiler warning v_len is of type guint64, but while print the value(16 + len_size + v_len) G_GSIZE_FORMAT is being used instead of G_GUINT64_FORMAT https://bugzilla.gnome.org/show_bug.cgi?id=752100 --- gst/rtp/gstrtpklvdepay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtp/gstrtpklvdepay.c b/gst/rtp/gstrtpklvdepay.c index 5d1bdd2330..12d3de03a2 100644 --- a/gst/rtp/gstrtpklvdepay.c +++ b/gst/rtp/gstrtpklvdepay.c @@ -214,7 +214,7 @@ gst_rtp_klv_depay_process_data (GstRtpKlvDepay * klvdepay) if (!klv_get_vlen (data, data_len, &v_len, &len_size)) goto bad_klv_packet; - GST_LOG_OBJECT (klvdepay, "want %" G_GSIZE_FORMAT " bytes, " + GST_LOG_OBJECT (klvdepay, "want %" G_GUINT64_FORMAT " bytes, " "have %" G_GSIZE_FORMAT " bytes", 16 + len_size + v_len, avail); if (avail < 16 + len_size + v_len)