[vlc-commits] demux: fix vlc_array_count sign

Thomas Guillem git at videolan.org
Thu Feb 23 14:46:14 CET 2017


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

demux: fix vlc_array_count sign

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

 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