[vlc-commits] test/mrl_helper: fix sign warning

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:45:49 2017 +0100| [f8fbd4186d46318f84dba34f0263b0299dd75acc] | committer: Thomas Guillem

test/mrl_helper: fix sign warning

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

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

diff --git a/src/test/mrl_helpers.c b/src/test/mrl_helpers.c
index 00b29a4..3439116 100644
--- a/src/test/mrl_helpers.c
+++ b/src/test/mrl_helpers.c
@@ -82,7 +82,7 @@ int main (void)
                 assert(testcase[i].extra == NULL);
 
             const char *p = testcase[i].payload + 2;
-            for (int j = 0; testcase[i].results[j] != NULL; ++j)
+            for (size_t j = 0; testcase[i].results[j] != NULL; ++j)
             {
                 assert(j < vlc_array_count(&out) && j < MAX_RESULT);
                 char *res = vlc_array_item_at_index(&out, j);



More information about the vlc-commits mailing list