]> git.sesse.net Git - vlc/commitdiff
mmal/deinterlace: Fix build warning
authorJulian Scheel <julian@jusst.de>
Thu, 4 Sep 2014 10:49:53 +0000 (12:49 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 4 Sep 2014 16:19:35 +0000 (18:19 +0200)
Comparing signed to unsigned.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/hw/mmal/deinterlace.c

index d74f167c7840d6023c73ba50b33604f283da1eca..33e122a615286247cca1d4399b8b80cda3b6c7ca 100644 (file)
@@ -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;