From 70ed4fd438774207feaba65fe42a5a58cf8e7e1d Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Tue, 24 Feb 2015 19:03:43 +0530 Subject: [PATCH] mpegts: Fix a compiler warning Causes the following warning on clang: gst-dvb-section.c:567:36: error: format specifies type 'unsigned long' but the argument has type 'int' [-Werror,-Wformat] descriptors_loop_length, end - 4 - data); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ --- gst-libs/gst/mpegts/gst-dvb-section.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/mpegts/gst-dvb-section.c b/gst-libs/gst/mpegts/gst-dvb-section.c index bdb62ca30d..46fc634494 100644 --- a/gst-libs/gst/mpegts/gst-dvb-section.c +++ b/gst-libs/gst/mpegts/gst-dvb-section.c @@ -564,7 +564,7 @@ _parse_nit (GstMpegtsSection * section) GST_WARNING ("PID %d invalid NIT entry %d descriptors loop length %d (only have %" G_GSIZE_FORMAT ")", section->pid, section->subtable_extension, - descriptors_loop_length, end - 4 - data); + descriptors_loop_length, (gsize) (end - 4 - data)); goto error; } stream->descriptors =