From 2baa107562dec16531ccdf5e07c8910437b6bfd8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 15 Feb 2010 12:12:36 +0000 Subject: [PATCH] v4l2: printf format string fix The compiler wants a cast here even though the type is already typedefed as 64-bit integer (presumably because glib has typedefed guint64 to unsigned long here). --- sys/v4l2/v4l2_calls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index 1cdbacf..f2c2c08 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -598,7 +598,7 @@ gboolean gst_v4l2_set_norm (GstV4l2Object * v4l2object, v4l2_std_id norm) { GST_DEBUG_OBJECT (v4l2object->element, "trying to set norm to " - "%" G_GINT64_MODIFIER "x", norm); + "%" G_GINT64_MODIFIER "x", (guint64) norm); if (!GST_V4L2_IS_OPEN (v4l2object)) return FALSE; -- 2.7.4