[vlc-commits] demux: fix vlc_array_count sign

Thomas Guillem git at videolan.org
Thu Feb 23 19:56:51 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb 23 14:38:38 2017 +0100| [a4d6f82a202c80d2eefa7e9b8cbe3c93ce010983] | committer: Thomas Guillem

demux: fix vlc_array_count sign

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

 src/input/demux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/demux.c b/src/input/demux.c
index 5823472..9a14b4a 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -680,7 +680,7 @@ demux_t *demux_FilterChainNew( demux_t *p_demux, const char *psz_chain )
         config_ChainDestroy(p_cfg);
     }
 
-    int i = vlc_array_count(&name);
+    size_t i = vlc_array_count(&name);
     vlc_array_t module;
     vlc_array_init(&module);
     while(i--)



More information about the vlc-commits mailing list