From 0f3ea721e4b5fa01d96acd6fdc75d134f06c0464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 14 Jun 2010 00:33:04 +0100 Subject: [PATCH] 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'". --- ext/ogg/gstoggstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ogg/gstoggstream.c b/ext/ogg/gstoggstream.c index 8fda96c41b..b42b951618 100644 --- a/ext/ogg/gstoggstream.c +++ b/ext/ogg/gstoggstream.c @@ -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;