summaryrefslogtreecommitdiff
path: root/gst-libs/gst/mpegts
diff options
context:
space:
mode:
authorArun Raghavan <arun@centricular.com>2015-02-24 19:03:43 +0530
committerArun Raghavan <git@arunraghavan.net>2015-02-24 19:06:30 +0530
commit70ed4fd438774207feaba65fe42a5a58cf8e7e1d (patch)
tree82b9cffc3b6748dc18f703cdd736f4ea41df0836 /gst-libs/gst/mpegts
parentc873c574307953b7db65941415f51e9d70d4a415 (diff)
downloadgstreamer-plugins-bad-70ed4fd438774207feaba65fe42a5a58cf8e7e1d.tar.gz
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); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
Diffstat (limited to 'gst-libs/gst/mpegts')
-rw-r--r--gst-libs/gst/mpegts/gst-dvb-section.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/mpegts/gst-dvb-section.c b/gst-libs/gst/mpegts/gst-dvb-section.c
index bdb62ca30..46fc63449 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 =