omx: fixed type error in printf call

%zu expects size_t

https://bugzilla.gnome.org/show_bug.cgi?id=699008
This commit is contained in:
Carlos Rafael Giani 2013-04-27 02:50:25 +02:00 committed by Tim-Philipp Müller
parent a2db76b048
commit 2d1138f45c

View file

@ -1630,7 +1630,7 @@ gst_omx_port_allocate_buffers_unlocked (GstOMXPort * port,
GST_INFO_OBJECT (comp->parent, GST_INFO_OBJECT (comp->parent,
"Allocating %d buffers of size %zu for %s port %u", n, "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) if (!port->buffers)
port->buffers = g_ptr_array_sized_new (n); port->buffers = g_ptr_array_sized_new (n);