ogg: fix debug message printf format some more

Just cast the pointer diff, so it works everywhere without
warnings. Can't use %tu, because that modifier is C99. Warning
was: "format '%li' expects type 'long int', but argument 8 has
type 'int'".
This commit is contained in:
Tim-Philipp Müller 2010-06-14 00:33:04 +01:00
parent 8ae112058c
commit 0f3ea721e4

View file

@ -1176,7 +1176,7 @@ gst_ogg_map_search_index (GstOggStream * pad, gboolean before,
if (best == NULL) if (best == NULL)
return FALSE; return FALSE;
GST_INFO ("found at index %li", (best - pad->index)); GST_INFO ("found at index %u", (guint) (best - pad->index));
if (offset) if (offset)
*offset = best->offset; *offset = best->offset;