summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch
blob: a428ac9c91a59f4ccbd391602cd37a3f61e1f5de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From f629e041e9f678fcd86ad764a15117dff63c271c Mon Sep 17 00:00:00 2001
From: Carlos Rafael Giani <dv@pseudoterminal.org>
Date: Sat, 27 Apr 2013 02:50:25 +0200
Subject: [PATCH] omx: fixed type error in printf call

%zu expects size_t

Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=699008]

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 omx/gstomx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/omx/gstomx.c b/omx/gstomx.c
index a2945ed..1eca7cc 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -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);
-- 
1.7.9.5