[vlc-commits] mmal/deinterlace: Fix build warning

Julian Scheel git at videolan.org
Thu Sep 4 18:19:52 CEST 2014


vlc | branch: master | Julian Scheel <julian at jusst.de> | Thu Sep  4 12:49:53 2014 +0200| [65488614b2ab77a294db52e25d7c9387e7819dae] | committer: Jean-Baptiste Kempf

mmal/deinterlace: Fix build warning

Comparing signed to unsigned.

Signed-off-by: Julian Scheel <julian at jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65488614b2ab77a294db52e25d7c9387e7819dae
---

 modules/hw/mmal/deinterlace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/mmal/deinterlace.c b/modules/hw/mmal/deinterlace.c
index d74f167..33e122a 100644
--- a/modules/hw/mmal/deinterlace.c
+++ b/modules/hw/mmal/deinterlace.c
@@ -91,7 +91,7 @@ static int create_picture_pool(filter_t *filter)
         goto out;
     }
 
-    for (int i = 0; i < sys->output->buffer_num; i++) {
+    for (unsigned i = 0; i < sys->output->buffer_num; i++) {
         picture_res.p_sys = calloc(1, sizeof(picture_sys_t));
         if (!picture_res.p_sys) {
             ret = -ENOMEM;



More information about the vlc-commits mailing list