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);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
This commit is contained in:
Arun Raghavan 2015-02-24 19:03:43 +05:30 committed by Arun Raghavan
parent c873c57430
commit 70ed4fd438

View file

@ -564,7 +564,7 @@ _parse_nit (GstMpegtsSection * section)
GST_WARNING GST_WARNING
("PID %d invalid NIT entry %d descriptors loop length %d (only have %" ("PID %d invalid NIT entry %d descriptors loop length %d (only have %"
G_GSIZE_FORMAT ")", section->pid, section->subtable_extension, G_GSIZE_FORMAT ")", section->pid, section->subtable_extension,
descriptors_loop_length, end - 4 - data); descriptors_loop_length, (gsize) (end - 4 - data));
goto error; goto error;
} }
stream->descriptors = stream->descriptors =