[vlc-commits] vout: fix sign warning

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:25 2017 +0100| [9b48c2e0ff29449587edf0dac6409c41d1d386f4] | committer: Thomas Guillem

vout: fix sign warning

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

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

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 764e2da..155d6a9 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -747,7 +747,7 @@ static void ThreadChangeFilters(vout_thread_t *vout,
                                          vout->p->filter.chain_interactive;
 
         filter_chain_Reset(chain, &fmt_current, &fmt_current);
-        for (int i = 0; i < vlc_array_count(array); i++) {
+        for (size_t i = 0; i < vlc_array_count(array); i++) {
             vout_filter_t *e = vlc_array_item_at_index(array, i);
             msg_Dbg(vout, "Adding '%s' as %s", e->name, a == 0 ? "static" : "interactive");
             if (!filter_chain_AppendFilter(chain, e->name, e->cfg, NULL, NULL)) {



More information about the vlc-commits mailing list