From 88253f171ce3e65ed939f79f47e102a45e358b3b Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Tue, 17 Nov 2020 23:43:09 +0100 Subject: [PATCH] Fix signedness warning in gio/tests/contenttype.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gio/tests/contenttype.c: In function ‘test_tree’: gio/tests/contenttype.c:337:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’ 337 | for (i = 0; i < G_N_ELEMENTS (tests); i++) | ^ --- gio/tests/contenttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/contenttype.c b/gio/tests/contenttype.c index 71e8b0df6..f2faaf68d 100644 --- a/gio/tests/contenttype.c +++ b/gio/tests/contenttype.c @@ -363,7 +363,7 @@ test_tree (void) const gchar *path; GFile *file; gchar **types; - gint i; + gsize i; #ifdef __APPLE__ g_test_skip ("The OSX backend does not implement g_content_type_guess_for_tree()");