mpegtsdescriptor: Fix format string compiler warning

gstmpegtsdescriptor.c:778:16: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat]
This commit is contained in:
Ramprakash Jelari 2014-11-24 16:54:42 +05:30 committed by Sebastian Dröge
parent 0f753b7099
commit cbe46c0373

View file

@ -775,7 +775,7 @@ gst_mpegts_parse_descriptors (guint8 * buffer, gsize buf_len)
}
GST_DEBUG ("Saw %d descriptors, read %" G_GSIZE_FORMAT " bytes",
nb_desc, data - buffer);
nb_desc, (gsize) (data - buffer));
if (data - buffer != buf_len) {
GST_WARNING ("descriptors size %d expected %" G_GSIZE_FORMAT,