[vlc-commits] sout: fix vlc_array_count sign

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


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

sout: fix vlc_array_count sign

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

 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