[vlc-commits] sout: fix vlc_array_count sign

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


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

sout: fix vlc_array_count sign

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

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

diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index 88f59d1..2910420 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -869,7 +869,7 @@ sout_stream_t *sout_StreamChainNew(sout_instance_t *p_sout, const char *psz_chai
         vlc_array_append(&name, psz_name);
     }
 
-    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