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

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


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

test/mrl_helper: fix sign warning

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

 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