v4l2: printf format string fix
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 15 Feb 2010 12:12:36 +0000 (12:12 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 15 Feb 2010 12:13:43 +0000 (12:13 +0000)
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

index 1cdbacf..f2c2c08 100644 (file)
@@ -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;