summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch
new file mode 100644
index 0000000000..a428ac9c91
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch
@@ -0,0 +1,30 @@
1From f629e041e9f678fcd86ad764a15117dff63c271c Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Sat, 27 Apr 2013 02:50:25 +0200
4Subject: [PATCH] omx: fixed type error in printf call
5
6%zu expects size_t
7
8Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=699008]
9
10Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
11---
12 omx/gstomx.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/omx/gstomx.c b/omx/gstomx.c
16index a2945ed..1eca7cc 100644
17--- a/omx/gstomx.c
18+++ b/omx/gstomx.c
19@@ -1630,7 +1630,7 @@ gst_omx_port_allocate_buffers_unlocked (GstOMXPort * port,
20
21 GST_INFO_OBJECT (comp->parent,
22 "Allocating %d buffers of size %zu for %s port %u", n,
23- port->port_def.nBufferSize, comp->name, (guint) port->index);
24+ (size_t) (port->port_def.nBufferSize), comp->name, (guint) port->index);
25
26 if (!port->buffers)
27 port->buffers = g_ptr_array_sized_new (n);
28--
291.7.9.5
30