mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
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:
parent
8ae112058c
commit
0f3ea721e4
1 changed files with 1 additions and 1 deletions
|
@ -1176,7 +1176,7 @@ gst_ogg_map_search_index (GstOggStream * pad, gboolean before,
|
|||
if (best == NULL)
|
||||
return FALSE;
|
||||
|
||||
GST_INFO ("found at index %li", (best - pad->index));
|
||||
GST_INFO ("found at index %u", (guint) (best - pad->index));
|
||||
|
||||
if (offset)
|
||||
*offset = best->offset;
|
||||
|
|
Loading…
Reference in a new issue