omx: fixed type error in printf call
authorCarlos Rafael Giani <dv@pseudoterminal.org>
Sat, 27 Apr 2013 00:50:25 +0000 (02:50 +0200)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 27 Apr 2013 08:17:28 +0000 (09:17 +0100)
%zu expects size_t

https://bugzilla.gnome.org/show_bug.cgi?id=699008

omx/gstomx.c

index a2945ed..a6c33bb 100644 (file)
@@ -1630,7 +1630,7 @@ gst_omx_port_allocate_buffers_unlocked (GstOMXPort * port,
 
   GST_INFO_OBJECT (comp->parent,
       "Allocating %d buffers of size %zu for %s port %u", n,
-      port->port_def.nBufferSize, comp->name, (guint) port->index);
+      (size_t) port->port_def.nBufferSize, comp->name, (guint) port->index);
 
   if (!port->buffers)
     port->buffers = g_ptr_array_sized_new (n);