[vlc-devel] [PATCH 2/3] mmal/deinterlace: Fix build warning
Julian Scheel
julian at jusst.de
Thu Sep 4 12:49:53 CEST 2014
Comparing signed to unsigned.
Signed-off-by: Julian Scheel <julian at jusst.de>
---
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;
--
2.1.0
More information about the vlc-devel
mailing list