Fix signedness warning in gio/tests/contenttype.c

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++)
      |                 ^
This commit is contained in:
Emmanuel Fleury 2020-11-17 23:43:09 +01:00
parent 8bcb2b9e76
commit 88253f171c

View File

@ -363,7 +363,7 @@ test_tree (void)
const gchar *path; const gchar *path;
GFile *file; GFile *file;
gchar **types; gchar **types;
gint i; gsize i;
#ifdef __APPLE__ #ifdef __APPLE__
g_test_skip ("The OSX backend does not implement g_content_type_guess_for_tree()"); g_test_skip ("The OSX backend does not implement g_content_type_guess_for_tree()");